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

accept AbortSignal as an option #44

Merged
merged 2 commits into from
Jun 14, 2023
Merged

Conversation

MoLow
Copy link
Contributor

@MoLow MoLow commented Jun 13, 2023

Fixes #40

index.js Outdated Show resolved Hide resolved
test.js Outdated Show resolved Hide resolved
index.d.ts Outdated Show resolved Hide resolved
@sindresorhus
Copy link
Owner

Thanks for working on this.

You need to add the option to the readme too.

@sindresorhus sindresorhus merged commit 021f863 into sindresorhus:main Jun 14, 2023
@MoLow MoLow deleted the abortSignal branch June 14, 2023 11:10
@MoLow
Copy link
Contributor Author

MoLow commented Jun 14, 2023

thanks @sindresorhus! any chance you can release a new release to npm?

@sindresorhus
Copy link
Owner

https://github.com/sindresorhus/p-event/releases/tag/v6.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the ability to pass options to the emitter (and support AbortController)
2 participants