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