You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the docs, the Event.wait() method returns a coroutine. So in order to block function execution it would need to be awaited from another coroutine.
The end result is that the Promise.get() method always returns None when using the AsyncioScheduler unless the promise was previously fulfilled.
The text was updated successfully, but these errors were encountered:
promise/promise/schedulers/asyncio.py
Lines 13 to 22 in ad8ebe6
As per the docs, the
Event.wait()
method returns a coroutine. So in order to block function execution it would need to beawait
ed from another coroutine.The end result is that the
Promise.get()
method always returnsNone
when using theAsyncioScheduler
unless the promise was previously fulfilled.The text was updated successfully, but these errors were encountered: