Skip to main content
Connects a callback to a RealSignal and returns a RealSignalConnection. The callback receives the arguments passed to Fire.

Syntax

Arguments

Returns

Types

RealSignal

Signal object returned by Signal.new.

RealSignalConnection

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

Example

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