Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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>
@OlegDokuka OlegDokuka force-pushed the enhancement/flowable-to-async-iterable branch from 24d78e7 to 013f048 Compare November 1, 2020 07:46
# for free to join this conversation on GitHub. Already have an account? # 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.

1 participant