yuuno.comm.comms module

class yuuno.comm.comms.YuunoCommConnection(manager: yuuno.comm.comms.YuunoCommManager, comm: ipykernel.comm.comm.Comm)[source]

Bases: object

Handles a signle comm-connection

close()[source]
send(message: yuuno.comm.commands.Command)[source]
class yuuno.comm.comms.YuunoCommManager(extension)[source]

Bases: object

Manages comm connections

broadcast(msg)[source]
close_all()[source]
on_message(callback)[source]
receive(comm, command)[source]
register(comm)[source]
remove_callback(callback)[source]
unregister(comm: ipykernel.comm.comm.Comm)[source]