interface _NodeEventTarget {
    once(eventName: string | symbol, listener: ((...args: any[]) => void)): this;
}

Methods

Methods

  • Parameters

    • eventName: string | symbol
    • listener: ((...args: any[]) => void)
        • (...args): void
        • Parameters

          • Rest...args: any[]

          Returns void

    Returns this