Promise.newWithChangeFunc
gst.promise.Promise newWithChangeFunc(gst.types.PromiseChangeFunc func)func will be called exactly once when transitioning out of [gst.types.PromiseResult.Pending] into any of the other #GstPromiseResult states.
Parameters
func | a #GstPromiseChangeFunc to call |
Returns
a new #GstPromise