A kernel client for in-process kernels.
Base class for in-process channels.
This method is called in the main thread when a message arrives.
Subclasses should override this method to handle incoming messages.
Call the message handlers later.
The default implementation just calls the handlers immediately, but this method exists so that GUI toolkits can defer calling the handlers until after the event loop has run, as expected by GUI frontends.
Process any pending GUI events.
This method will be never be called from a frontend without an event loop (e.g., a terminal frontend).
A dummy heartbeat channel interface for in-process kernels.
Normally we use the heartbeat to check that the kernel process is alive. When the kernel is in-process, that doesn’t make sense, but clients still expect this interface.