# Interface _NodeEventTarget

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

- Defined in node_modules/@types/node/events.d.ts:82

#####
Index

### Methods

once

##
Methods

### once

- once(eventName, listener): this

- #### Parameters

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

      - #### Parameters

        - `Rest`...args: any[]

        #### Returns void

  #### Returns this

  - Defined in node_modules/@types/node/events.d.ts:83