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

Return type of IAsyncEnumerable #6504

Closed
arinn1204 opened this issue Apr 23, 2020 · 8 comments
Closed

Return type of IAsyncEnumerable #6504

arinn1204 opened this issue Apr 23, 2020 · 8 comments
Assignees
Labels
area-grains Category for all the Grain related issues enhancement
Milestone

Comments

@arinn1204
Copy link

Are there any plans to allow grains to return IAsyncEnumerable? Or is it going to be needed to have a Task<IAsyncEnumerable> for the future?

@ReubenBond
Copy link
Member

There are no firm plans to support it yet, but I would love to see it, as long as the semantics are well-defined.

There was previously a WIP PR for doing something similar, but with IAsyncObservable instead of IAsyncEnumerable: #1916

@ReubenBond ReubenBond added this to the Triage milestone Apr 24, 2020
@ReubenBond ReubenBond self-assigned this Apr 24, 2020
@ElanHasson
Copy link
Contributor

Looking forward to this one :)

@sergeybykov sergeybykov modified the milestones: Triage, Backlog Aug 7, 2020
@jbockle
Copy link
Contributor

jbockle commented Apr 2, 2021

same!

@ghost ghost added the stale Issues with no activity for the past 6 months label Dec 7, 2021
@ghost
Copy link

ghost commented Dec 7, 2021

We are marking this issue as stale due to the lack of activity in the past six months. If there is no further activity within two weeks, this issue will be closed. You can always create a new issue based on the guidelines provided in our pinned announcement.

@ryanbabel
Copy link

same.

wanted to do something like a yield return on a setter grain method;

while a getter method on the grain can async read newly added items of the grain states
while new ones are being processed and added in the setter grain (Ienum input to be processed and stored).

@ReubenBond ReubenBond added enhancement area-grains Category for all the Grain related issues and removed stale Issues with no activity for the past 6 months labels Feb 10, 2022
@ReubenBond
Copy link
Member

Yes, I'd very much like for us to have this, too. Hopefully we can squeeze it in somewhere

@danielleiszen
Copy link

Thank you guys. This would be awesome! What is the best practice for this scenario for the time being though?

@ReubenBond
Copy link
Member

ReubenBond commented Dec 11, 2023

This is supported now, since Orleans v7.2.0: #8416

@github-actions github-actions bot locked and limited conversation to collaborators Jan 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-grains Category for all the Grain related issues enhancement
Projects
None yet
Development

No branches or pull requests

7 participants