Skip to content

Conversation

jprider63
Copy link

This adds the function spawn_in_scope which spawns a future with the scope provided by the user. I needed this since I have a Signal at a given scope (created with Signal::new_maybe_sync_in_scope_with_caller) that is periodically updated by an associated future. spawn_forever did not work since the root scope in the future would attempt to update the subscope's Signal.

Note: This PR is on the v0.6 branch so you might want to upstream it to main too.

@jprider63 jprider63 requested a review from a team as a code owner July 8, 2025 16:52
jprider63 added a commit to jprider63/ossa that referenced this pull request Aug 1, 2025
jprider63 added a commit to jprider63/ossa that referenced this pull request Aug 3, 2025
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