Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node: add enhancedOnce() typed function #1375

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Node: add enhancedOnce() typed function #1375

merged 1 commit into from
Apr 10, 2024

Conversation

ibc
Copy link
Member

@ibc ibc commented Apr 10, 2024

Details

  • Same as events.once(emitter, eventName) but with TypeScript typed events.
  • Rename EnhancedEventEmitter.ts file to enhancedEvents.ts for consistency with the Node events module.

### Details

- Same as [events.once(emmiter, eventName)](https://nodejs.org/api/events.html#eventsonceemitter-name-options) but with TypeScript typed events.
- Rename `EnhancedEventEmitter.ts` file to `enhancedEvents.ts` for consistency with the Node `events` module.
@ibc ibc requested a review from jmillan April 10, 2024 10:31
@ibc ibc merged commit e516ebc into v3 Apr 10, 2024
35 checks passed
@ibc ibc deleted the add-enhanced-once branch April 10, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants