ox.flow
Members list
Packages
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.buffer, 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 FlowReactiveOps[T]trait FlowTextOps[T]trait FlowIOOps[T]trait FlowRunOps[T]class FlowOps[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait FlowCompanionReactiveOpstrait FlowCompanionIOOpstrait FlowCompanionOpsclass Objecttrait Matchableclass AnyShow all
- Self type
-
Flow.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Flow
- Self type
Instances of this trait should be considered thread-unsafe, and only used within the scope in which they have been obtained, e.g. as part of Flow.usingEmit or Flow.mapUsingEmit.
Instances of this trait should be considered thread-unsafe, and only used within the scope in which they have been obtained, e.g. as part of Flow.usingEmit or Flow.mapUsingEmit.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
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]