Skip to content

Conversation

theduke
Copy link

@theduke theduke commented Sep 16, 2025

Adds a new use_coroutine_with_sender, which is equivalent to
use_coroutine, but also receives a sender in the init function.

Motivation: More complex coroutines often need to send messages to themselves,
for example inside futures to update the state.

@theduke theduke requested a review from a team as a code owner September 16, 2025 04:34
Adds a new `use_coroutine_with_sender`, which is equivalent to
`use_coroutine`, but also receives a sender in the init function.

Motivation: More complex coroutines often need to send messages to themselves,
for example inside futures to update the state.
@theduke theduke force-pushed the use_coroutine_with_sender branch from 9ff8a5b to 601952d Compare September 16, 2025 04:35
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.

1 participant