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

adds support for flowable to async iterable conversion #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OlegDokuka
Copy link
Member

This PR introduces integration with AsyncIterator which allows asynchronously iterate over a data stream using a common for-loop statement.

For example:

const asyncIterable = rsocket
  .requestChannel(...)
  .toAsyncIterable(4);

for await (const element of asyncIterable) {
  ...
}

Signed-off-by: Oleh Dokuka shadowgun@i.ua

@OlegDokuka OlegDokuka added the enhancement Suggests, requests, or implements a feature or enhancement label Oct 31, 2020
@OlegDokuka OlegDokuka force-pushed the enhancement/flowable-to-async-iterable branch 2 times, most recently from 8496348 to 24d78e7 Compare November 1, 2020 07:45
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Suggests, requests, or implements a feature or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant