hybrid.core.Runnable.dispatch#
- Runnable.dispatch(future, **kwargs)[source]#
Dispatch state from resolving future to either next or error methods.
- Parameters:
state (
concurrent.futures.Future-like object) –Statefuture.
Returns state from
next()orerror(), or passes through an exception raised there.Blocks on state resolution and execution of
next()orerror().