ox.flow
Members list
Type members
Classlikes
Describes an asynchronous transformation pipeline. When run, emits elements of type T
.
Describes an asynchronous transformation pipeline. When run, emits elements of type T
.
A flow is lazy - evaluation happens only when it's run.
Flows can be created using the Flow.usingSink, Flow.fromValues and other Flow.from*
methods, Flow.tick etc.
Transformation stages can be added using the available combinators, such as Flow.map, Flow.async, Flow.grouped, etc. Each such method returns a new immutable Flow
instance.
Running a flow is possible using one of the run*
methods, such as Flow.runToList, Flow.runToChannel or Flow.runFold.
Attributes
- Companion
- object
- Supertypes
-
trait FlowTextOps[T]trait FlowIOOps[T]trait FlowRunOps[T]class FlowOps[T]class Objecttrait Matchableclass AnyShow all
Attributes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Flow
- Self type
Contains the logic for running a single flow stage. As part of run
s implementation, previous flow stages might be run, either synchronously or asynchronously.
Contains the logic for running a single flow stage. As part of run
s implementation, previous flow stages might be run, either synchronously or asynchronously.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class FromSource[T]