Type alias IEventLike

IEventLike: {
    on: ((event, callback) => IEventLike);
    once: ((event, callback) => IEventLike);
}

Type declaration

  • on: ((event, callback) => IEventLike)
      • (event, callback): IEventLike
      • Parameters

        • event: string | symbol
        • callback: ((...args) => void)
            • (...args): void
            • Parameters

              • Rest ...args: any[]
                Rest

              Returns void

        Returns IEventLike

  • once: ((event, callback) => IEventLike)
      • (event, callback): IEventLike
      • Parameters

        • event: string | symbol
        • callback: ((...args) => void)
            • (...args): void
            • Parameters

              • Rest ...args: any[]
                Rest

              Returns void

        Returns IEventLike

Generated using TypeDoc