{ } Raw JSON

bundles / ipykernel latest / ipykernel / iostream / IOPubThread

class

ipykernel.iostream:IOPubThread

source: /ipykernel/iostream.py:45

Signature

class IOPubThread(socket, pipe = False, session = False)

Members

Summary

An object for sending IOPub messages in a background thread

Extended Summary

Prevents a blocking main thread from delaying output from threads.

IOPubThread(pub_socket).background_socket is a Socket-API-providing object whose IO is always run in a thread.

Aliases

  • ipykernel.iostream.IOPubThread