Skip to main content
Branch: Release Candidate

off

Callable

  • off(eventName: string, listener: (...args: any[]) => void): void
  • off(listener: (eventName: string, ...args: any[]) => void): void

  • Unsubscribes from a event with the specified listener.

    Remarks

    Listener should be of the same reference as when event was subscribed to.