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

Stream support for Command #2150

Merged
merged 2 commits into from
Nov 29, 2023
Merged

Stream support for Command #2150

merged 2 commits into from
Nov 29, 2023

Conversation

hecrj
Copy link
Member

@hecrj hecrj commented Nov 28, 2023

This PR implements support for running a Stream to completion with the new Command::run constructor.

Additionally, it introduces a command::channel helper that can be used analogously to subscription::channel.

These changes should simplify use cases where running a background worker with some initial configuration or impure state is necessary.

@hecrj hecrj added the feature New feature or request label Nov 28, 2023
@hecrj hecrj added this to the 0.12 milestone Nov 28, 2023
@hecrj hecrj merged commit 7f8b176 into master Nov 29, 2023
26 checks passed
@hecrj hecrj deleted the feature/command-run branch November 29, 2023 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant