Skip to content

Add Runnable::is_cancelled#106

Open
Veykril wants to merge 1 commit intosmol-rs:masterfrom
Veykril:veykril/is_cancelled
Open

Add Runnable::is_cancelled#106
Veykril wants to merge 1 commit intosmol-rs:masterfrom
Veykril:veykril/is_cancelled

Conversation

@Veykril
Copy link
Copy Markdown

@Veykril Veykril commented Mar 2, 2026

In Zed we have the need to drop all cancelled tasks at a given time without potentially running the non cancelled ones (for testing scenarios in this case zed-industries/zed#50400), currently there is no way to do so as cancellation state is not exposed on the runnable itself.

@Veykril Veykril force-pushed the veykril/is_cancelled branch from 060f18f to 13c307b Compare March 2, 2026 11:16
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.

1 participant