Skip to main content

Arguments

RealSignal
requis
Signal object returned by Signal.new.
(....any) -> ()
requis
Function called whenever the signal is fired while the connection remains connected.

Retours

RealSignalConnection
Connection object with Disconnect.

Types

RealSignal

Signal object returned by Signal.new.

RealSignalConnection

Connection object returned by RealSignal.Connect and RealSignal.Once.

Exemple

Connect a callback and disconnect it when it is no longer needed.