Promise.wait

Wait for promise to move out of the [gst.types.PromiseResult.Pending] state. If promise is not in [gst.types.PromiseResult.Pending] then it will return immediately with the current result.

Returns

the result of the promise