openlifu.io.LIFUSignal.LIFUSignal

class openlifu.io.LIFUSignal.LIFUSignal[source]

Bases: object

connect(slot)[source]

Connect a slot (callback function) to the signal.

Parameters:

slot (callable) – A callable to be invoked when the signal is emitted.

disconnect(slot)[source]

Disconnect a slot (callback function) from the signal.

Parameters:

slot (callable) – The callable to disconnect.

emit(*args, **kwargs)[source]

Emit the signal, invoking all connected slots.

Parameters:
  • *args – Positional arguments to pass to the connected slots.

  • **kwargs – Keyword arguments to pass to the connected slots.