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

Add function to abort async operations #1160

Merged
merged 1 commit into from
Sep 2, 2024
Merged

Conversation

Borewit
Copy link
Owner

@Borewit Borewit commented Sep 2, 2024

Be able to abort active asynchronous operations.

Either by passing the AbortSignal interface to the tokenizer options, or by calling method abort().

Partly resolves: #1157

@Borewit Borewit self-assigned this Sep 2, 2024
@coveralls
Copy link

coveralls commented Sep 2, 2024

Coverage Status

coverage: 94.444% (-0.2%) from 94.69%
when pulling fc44366 on abort-async-operations
into 1a27c6f on master.

@Borewit Borewit force-pushed the abort-async-operations branch from a30c7ee to fc44366 Compare September 2, 2024 17:17
@Borewit Borewit merged commit 33b232a into master Sep 2, 2024
15 checks passed
@Borewit Borewit deleted the abort-async-operations branch September 2, 2024 17:19
@Borewit
Copy link
Owner Author

Borewit commented Sep 2, 2024

Part of v9.0.0

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

Successfully merging this pull request may close these issues.

Allow passing in AbortController signal
2 participants