Skip to content

Basic app to show case combine, zip, merge flow transform functions

License

Notifications You must be signed in to change notification settings

raheemadamboev/flow-combine-zip-merge

Repository files navigation

flow-combine-zip-merge

Basic app to show case combine, zip, merge flow transform functions

Flow Combine Zip Merge

Download demo

combine()

Returns a Flow whose values are generated with transform function by combining the most recently emitted values by each flow. Everytime one of the provided flows change it fires up the transform block, so we can return desired data with latest values.

zip()

Zips values from the current flow (this) with other flow using provided transform function applied to each pair of values. The resulting flow completes as soon as one of the flows completes and cancel is called on the remaining flow.

merge()

Merges the given flows into a single flow without preserving an order of elements. All flows are merged concurrently, without limit on the number of simultaneously collected flows.

About

Basic app to show case combine, zip, merge flow transform functions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages