Skip to main content

Argumentos

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

Retornos

RealSignalConnection
Connection object with Disconnect.

Tipos

RealSignal

Signal object returned by Signal.new.

RealSignalConnection

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

Exemplo

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