JupyterCallbackBasedSocketImpl
Functions
Link copied to clipboard
Link copied to clipboard
Blocks until a message arrives. Runs all registered callbacks on it when it happens. If an error occurs during the receipt of the message, the message is skipped and the error is logged.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun JupyterCallbackBasedSocket.sendReceive(messageBufferCapacity: Int = 256): JupyterSendReceiveSocket
Receiving messages when the buffer is full will block the incoming message processor thread (the thread which runs JupyterCallbackBasedSocketImpl.receiveMessageAndRunCallbacks).