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

Add support for async streams from command execution #114

Merged
merged 2 commits into from
Jan 29, 2024
Merged

Add support for async streams from command execution #114

merged 2 commits into from
Jan 29, 2024

Conversation

kzu
Copy link
Member

@kzu kzu commented Jan 29, 2024

Adds:

await foreach (var file in bus.ExecuteStream(new FindDocuments("*.json")))
    Console.WriteLine(file);

Fixes #113

@kzu kzu added the enhancement New feature or request label Jan 29, 2024
Adds:

```
await foreach (var file in bus.ExecuteStream(new FindDocuments("*.json")))
    Console.WriteLine(file);
```

Fixes #113
Since we want the analyzers for tracking shipped APIs, not to prevent innovation such as adding ExecuteStream for .net6.0+ targets.
@kzu kzu merged commit 9f1202d into main Jan 29, 2024
5 checks passed
@kzu kzu deleted the stream branch January 29, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow async enumerable stream results
1 participant