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

First-class support for enumerables #12

Open
cybertyche opened this issue Dec 10, 2018 · 3 comments
Open

First-class support for enumerables #12

cybertyche opened this issue Dec 10, 2018 · 3 comments

Comments

@cybertyche
Copy link
Contributor

All ingress methods into Trill currently rely on IObservable and thus rely on push semantics. If one wants to ingress data from an IEnumerable, one must first use an external framework or custom code to convert the IEnumerable to an IObservable. For multi-input queries, doing so caused potential threading issues.

We would like to add first-class support for IEnumerable ingress. Doing so will likely require implementation of back pressure mechanisms in binary operators, where data is drawn from one side or the other to maintain optimal data flow (instead of relying on the ingress operators to handle control flow).

@MedAnd
Copy link

MedAnd commented Feb 6, 2019

Any plans to support System.Threading.Channels & IAsyncEnumerable?

@cybertyche
Copy link
Contributor Author

Hi @MedAnd! We have plans for these, but they fall kind of in-between this work item and another work item for adding features for newer language/framework features. If you'd like to track this separately, please feel free to file a separate issue for this so you can be updated when we get to it.

@MedAnd
Copy link

MedAnd commented Feb 7, 2019

Have created #49

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

No branches or pull requests

2 participants