Skip to main content

Argumenty

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

Zwroty

RealSignalConnection
Connection object with Disconnect.

Typy

RealSignal

Signal object returned by Signal.new.

RealSignalConnection

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

Przykład

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