final case class Input[R]() extends ZFlow[R, Nothing, R] with Product with Serializable
- Alphabetic
- By Inheritance
- Input
- Serializable
- Product
- Equals
- ZFlow
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Input()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def *>[R1 <: R, E1 >: Nothing, A1 >: R, B](that: ZFlow[R1, E1, B]): ZFlow[R1, E1, B]
Executes this flow and then that flow, keeping only the result of the second.
- final def <*[R1 <: R, E1 >: Nothing, A1 >: R, B](that: ZFlow[R1, E1, B]): ZFlow[R1, E1, A1]
Executes this flow and then that flow, keeping only the result of the first.
- final def <*>[R1 <: R, E1 >: Nothing, A1 >: R, B](that: ZFlow[R1, E1, B]): ZFlow[R1, E1, (A1, B)]
Executes this flow and then that flow keeping the result of both zipped together
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def as[B](b: => Remote[B]): ZFlow[R, Nothing, B]
Replace the flow's result value with the provided value
Replace the flow's result value with the provided value
- Definition Classes
- ZFlow
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def catchAll[R1 <: R, E1 >: Nothing, A1 >: R, E2](f: (Remote[E1]) => ZFlow[R1, E2, A1]): ZFlow[R1, E2, A1]
Recover from any failure of this flow by executing the given function
Recover from any failure of this flow by executing the given function
- Definition Classes
- ZFlow
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def ensuring[E1 >: Nothing, A1 >: R](flow: ZFlow[Any, ZNothing, Any]): ZFlow[R, E1, A1]
Ensure that the given flow is executed after this flow, regardless of success or failure
Ensure that the given flow is executed after this flow, regardless of success or failure
- Definition Classes
- ZFlow
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def flatMap[R1 <: R, E1 >: Nothing, B](f: (Remote[R]) => ZFlow[R1, E1, B]): ZFlow[R1, E1, B]
Executes this flow and then calls the given function with the flow's result to determine the next steps.
Executes this flow and then calls the given function with the flow's result to determine the next steps.
- Definition Classes
- ZFlow
- final def foldFlow[R1 <: R, E2, B](onError: (Remote[Nothing]) => ZFlow[R1, E2, B], onSuccess: (Remote[R]) => ZFlow[R1, E2, B]): ZFlow[R1, E2, B]
Executes this flow and then calls either the onError or the onSuccess functions to determine the next steps.
Executes this flow and then calls either the onError or the onSuccess functions to determine the next steps.
- Definition Classes
- ZFlow
- final def fork: ZFlow[R, ZNothing, ExecutingFlow[Nothing, R]]
Execute this flow in the background.
Execute this flow in the background.
The returned value (of type ExecutingFlow) can be used to await or interrupt the running flow.
- Definition Classes
- ZFlow
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def ifThenElse[R1 <: R, E1 >: Nothing, B](ifTrue: ZFlow[R1, E1, B], ifFalse: ZFlow[R1, E1, B])(implicit ev: <:<[R, Boolean]): ZFlow[R1, E1, B]
Executes this flow and based on its boolean result determines the next steps by either calling ifTrue or ifFalse
Executes this flow and based on its boolean result determines the next steps by either calling ifTrue or ifFalse
- Definition Classes
- ZFlow
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def iterate[R1 <: R, E1 >: Nothing, A1 >: R](step: (Remote[A1]) => ZFlow[R1, E1, A1])(predicate: (Remote[A1]) => Remote[Boolean]): ZFlow[R1, E1, A1]
Repeatedly executes a flow until a given predicate becomes true.
Repeatedly executes a flow until a given predicate becomes true.
The initial value is the result of this flow. The step function is called with this value to produce the next flow to execute. The iteration stops when the predicate function returns true for the last step's result.
- Definition Classes
- ZFlow
- final def map[B](f: (Remote[R]) => Remote[B]): ZFlow[R, Nothing, B]
Maps the result of this flow with the given function
Maps the result of this flow with the given function
- Definition Classes
- ZFlow
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def orDie[R1 <: R, E1 >: Nothing, A1 >: R]: ZFlow[R1, ZNothing, A1]
Converts this flow's failure to a fatal flow failure
Converts this flow's failure to a fatal flow failure
- Definition Classes
- ZFlow
- final def orElse[R1 <: R, E1 >: Nothing, E2, A1 >: R](that: ZFlow[R1, E2, A1]): ZFlow[R1, E2, A1]
Executes this flow and if it fails executes that flow.
Executes this flow and if it fails executes that flow.
The flow and the fallback flow must have compatible result types. If they don't, use orElseEither.
- Definition Classes
- ZFlow
- final def orElseEither[R1 <: R, A1 >: R, E2, B](that: ZFlow[R1, E2, B]): ZFlow[R1, E2, Either[A1, B]]
Executes this flow and if it fails executes that flow.
Executes this flow and if it fails executes that flow. The two flows can have different result types which will be captured in an Either value.
- Definition Classes
- ZFlow
- final def orTry[R1 <: R, E1 >: Nothing, A1 >: R](that: ZFlow[R1, E1, A1]): ZFlow[R1, E1, A1]
Attempts to execute this flow, but then, if this flow is suspended due to performing a retry operation inside a transaction (because conditions necessary for executing this flow are not yet ready), then will switch over to the specified flow.
Attempts to execute this flow, but then, if this flow is suspended due to performing a retry operation inside a transaction (because conditions necessary for executing this flow are not yet ready), then will switch over to the specified flow.
If this flow never suspends, then it will always execute to success or failure, and the specified flow will never be executed.
- Definition Classes
- ZFlow
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def provide(value: Remote[R]): ZFlow[Any, Nothing, R]
Provide a value as this flow's input
Provide a value as this flow's input
- Definition Classes
- ZFlow
- final def repeat[Ctx](schedule: ZFlowSchedule[Ctx]): ZFlow[R, Nothing, List[R]]
Runs this workflow and then repeats it according to the given schedule.
Runs this workflow and then repeats it according to the given schedule. The result is the list of all the results collected from the repeated flow.
- Definition Classes
- ZFlow
- final def replicate(n: Remote[Int]): ZFlow[R, Nothing, Chunk[R]]
Repeats this flow n times and collect all the results
Repeats this flow n times and collect all the results
- Definition Classes
- ZFlow
- def schedule[Ctx](schedule: ZFlowSchedule[Ctx]): ZFlow[R, Nothing, Option[R]]
Delays the execution of this flow according to the given schedule.
Delays the execution of this flow according to the given schedule.
- Definition Classes
- ZFlow
- def substituteRec[B](f: Substitutions): ZFlow[R, Nothing, R]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def timeout(duration: Remote[zio.Duration]): ZFlow[R, Nothing, Option[R]]
Try to execute this flow but timeout after the given duration.
Try to execute this flow but timeout after the given duration.
If the flow finished running within the time limits, the result is wrapped in Some, otherwise if it timed out the result is None.
- Definition Classes
- ZFlow
- final def unit: ZFlow[R, Nothing, Unit]
Ignores the successful result of this flow and return with unit instead
Ignores the successful result of this flow and return with unit instead
- Definition Classes
- ZFlow
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def widen[A0](implicit ev: <:<[R, A0]): ZFlow[R, Nothing, A0]
Widen the result type of the flow
Widen the result type of the flow
- Definition Classes
- ZFlow
- final def zip[R1 <: R, E1 >: Nothing, A1 >: R, B](that: ZFlow[R1, E1, B]): ZFlow[R1, E1, (A1, B)]
Executes this flow and then that flow keeping the result of both zipped together
- final def zipLeft[R1 <: R, E1 >: Nothing, A1 >: R, B](that: ZFlow[R1, E1, B]): ZFlow[R1, E1, A1]
Executes this flow and then that flow, keeping only the result of the first.
- final def zipRight[R1 <: R, E1 >: Nothing, A1 >: R, B](that: ZFlow[R1, E1, B]): ZFlow[R1, E1, B]
Executes this flow and then that flow, keeping only the result of the second.