Skip to content

Conversation

@avdgrinten
Copy link
Member

This provides the same functionality as cancellation_observer with a much better API. with_cancel_cb() wraps a sender and takes a cancellation callback. with_cancel_cb() completes once:

  • the operation corresponding to the sender is done,
  • and, if cancellation has been initiated, until the cancellation callback is done.

@avdgrinten avdgrinten merged commit c614396 into managarm:master Jan 25, 2026
1 of 2 checks passed
@avdgrinten avdgrinten deleted the with_cancel_cb branch January 25, 2026 10:21
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.

2 participants