Shared module (alt-shared)Functionsoffoff Callableoff(eventName: string, listener: (...args: any[]) => void): voidoff(listener: (eventName: string, ...args: any[]) => void): voidUnsubscribes from a event with the specified listener.Remarks Listener should be of the same reference as when event was subscribed to.
Unsubscribes from a event with the specified listener.
Remarks
Listener should be of the same reference as when event was subscribed to.