Skip to content

Extended from BaseClass Connection

This class is used in the event emitter class, its used to manage a listener

Properties

boolean Active

Defines if the connection is active or not

number EventId

The id of the linked event

table Event

{ }

Methods

thread? Wait(seconds: number?)

Wait until the event gets fired, if seconds were specified, once the specified seconds have elapsed, it will stop waiting

void Disconnect()

Deletes the connection and the listener

Events

There is no events for this class