interface NodeEventTarget {
    once(event, listener): NodeEventTarget;
}

Methods

Methods

  • Parameters

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

          • Rest ...args: any[]

          Returns void

    Returns NodeEventTarget