API Reference

Signal:

Name
Type
Description

Connect

Method

Connects the given function. ​ Returns: Connection

Once

Method

Connects the given function, but disconnects after first fire. ​ Returns: Connection

Wait

Method

Yields the calling thread until the next fire.

Fire

Method

Fires all callbacks and resumes all waiting threads.

DisconnectAll

Method

Disconnects all connections.

Destroy

Method

Disconnects all connections, and makes the signal unusable.

Connection:

Name
Type
Description

Disconnect

Method

Disconnects the connection.

Connected

Property

A boolean representing the connection state of the connection.

Last updated