Construct a new KernelFutureHandler.
Test whether the delegate has been disposed.
A promise that resolves when the future is done.
Get the original outgoing message.
Get the iopub handler.
Set the iopub handler.
Get the reply handler.
Set the reply handler.
Get the stdin handler.
Set the stdin handler.
Set the given future flag.
Test whether the given future flag is set.
Dispose and unregister the future.
Handle an incoming kernel message.
Register hook for IOPub messages.
The callback invoked for an IOPub message.
The IOPub hook system allows you to preempt the handlers for IOPub messages handled by the future.
The most recently registered hook is run first. A hook can return a boolean or a promise to a boolean, in which case all kernel message processing pauses until the promise is fulfilled. If a hook return value resolves to false, any later hooks will not run and the function will return a promise resolving to false. If a hook throws an error, the error is logged to the console and the next hook is run. If a hook is registered during the hook processing, it will not run until the next message. If a hook is removed during the hook processing, it will be deactivated immediately.
Remove a hook for IOPub messages.
The hook to remove.
If a hook is removed during the hook processing, it will be deactivated immediately.
Send an input_reply
message.
Generated using TypeDoc
Implementation of a kernel future.
If a reply is expected, the Future is considered done when both a
reply
message and anidle
iopub status message have been received. Otherwise, it is considered done when theidle
status is received.