API Reference

Signal:

Name
Type
Description

Connect

Method

Connects a function. ​ Returns: Connection

Once

Method

Connects a function, then auto-disconnects after the first call. ​ Returns: Connection

Wait

Method

Yields the calling thread until the next fire.

Fire

Method

Runs all connected functions, and resumes all waiting threads.

DisconnectAll

Method

Erases all connections.

Much faster than calling Disconnect on each.

Destroy

Method

Erases all connections and methods, making the signal unusable.

Remove references to the signal to delete it completely.

Connection:

Name
Type
Description

Disconnect

Method

Erases the connection.

Connected

Property

A boolean representing the connection state.

Last updated