Object/Class

morphir.flowz

Step

Related Docs: class Step | package flowz

Permalink

object Step extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Step
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[StateIn, StateOut, Env, Params, Err, Value](name: String, description: String)(func: (StateIn, Params) ⇒ ZIO[Env, Err, StepOutputs[StateOut, Value]]): Step[StateIn, StateOut, Env, Params, Err, Value]

    Permalink
  5. def apply[StateIn, StateOut, Env, Params, Err, Value](name: String)(func: (StateIn, Params) ⇒ ZIO[Env, Err, StepOutputs[StateOut, Value]]): Step[StateIn, StateOut, Env, Params, Err, Value]

    Permalink
  6. def apply[StateIn, StateOut, Env, Params, Err, Value](func: (StateIn, Params) ⇒ ZIO[Env, Err, StepOutputs[StateOut, Value]]): Step[StateIn, StateOut, Env, Params, Err, Value]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def context[Env, StateIn, Params]: Step[StateIn, StateIn, Env, Params, Nothing, StepContext[Env, StateIn, Params]]

    Permalink
  10. def describe[StateIn, StateOut, Env, Params, Err, Value](description: String)(step: Step[StateIn, StateOut, Env, Params, Err, Value]): Step[StateIn, StateOut, Env, Params, Err, Value]

    Permalink
  11. def effect[Value](value: ⇒ Value): Step[Any, Unit, Any, Any, Throwable, Value]

    Permalink
  12. def environment[Env]: Step[Any, Env, Env, Any, Nothing, Env]

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def fail[Err](error: Err): Step[Any, Nothing, Any, Any, Err, Nothing]

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def fromEffect[P, R, E, A](func: (P) ⇒ ZIO[R, E, A]): Step[Any, Unit, R, P, E, A]

    Permalink
  18. def fromEffect[R, E, A](effect: ZIO[R, E, A]): Step[Any, Unit, R, Any, E, A]

    Permalink
  19. def fromEither[Err, Value](value: Either[Err, Value]): Step[Any, Unit, Any, Any, Err, Value]

    Permalink
  20. def fromFunction[In, Out](func: (In) ⇒ Out): Step[Any, Out, Any, In, Nothing, Out]

    Permalink
  21. def fromOption[Value](value: ⇒ Option[Value]): Step[Any, Unit, Any, Any, Option[Nothing], Value]

    Permalink
  22. def fromOutputs[State, Output](channels: StepOutputs[State, Output]): Step[Any, State, Any, Any, Nothing, Output]

    Permalink
  23. def fromTry[Value](value: ⇒ Try[Value]): Step[Any, Unit, Any, Any, Throwable, Value]

    Permalink
  24. def get[State]: Step[State, State, Any, Any, Nothing, State]

    Permalink
  25. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. def inputs[StateIn, Params]: Step[StateIn, (StateIn, Params), Any, Params, Nothing, (StateIn, Params)]

    Permalink
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def join[State, Err, Output](fiber: Fiber[Err, StepOutputs[State, Output]]): Step[Any, State, Any, Any, Err, Output]

    Permalink
  30. def mapN[S0, R, P, Err, SA, A, SB, B, SC, C](flowA: Step[S0, SA, R, P, Err, A], flowB: Step[S0, SB, R, P, Err, B])(f: (StepOutputs[SA, A], StepOutputs[SB, B]) ⇒ StepOutputs[SC, C]): Step[S0, SC, R, P, Err, C]

    Permalink
  31. def mapParN[S0, R, P, Err, S1, A1, S2, A2, S3, A3, S4, A4, S5, A5, S6, A6, S7, A7, S8, A8, S9, A9](flow1: Step[S0, S1, R, P, Err, A1], flow2: Step[S0, S2, R, P, Err, A2], flow3: Step[S0, S3, R, P, Err, A3], flow4: Step[S0, S4, R, P, Err, A4], flow5: Step[S0, S5, R, P, Err, A5], flow6: Step[S0, S6, R, P, Err, A6], flow7: Step[S0, S7, R, P, Err, A7], flow8: Step[S0, S8, R, P, Err, A8])(func: (StepOutputs[S1, A1], StepOutputs[S2, A2], StepOutputs[S3, A3], StepOutputs[S4, A4], StepOutputs[S5, A5], StepOutputs[S6, A6], StepOutputs[S7, A7], StepOutputs[S8, A8]) ⇒ StepOutputs[S9, A9]): Step[S0, S9, R, P, Err, A9]

    Permalink
  32. def mapParN[S0, R, P, Err, S1, A1, S2, A2, S3, A3, S4, A4, S5, A5, S6, A6, S7, A7, S8, A8](flow1: Step[S0, S1, R, P, Err, A1], flow2: Step[S0, S2, R, P, Err, A2], flow3: Step[S0, S3, R, P, Err, A3], flow4: Step[S0, S4, R, P, Err, A4], flow5: Step[S0, S5, R, P, Err, A5], flow6: Step[S0, S6, R, P, Err, A6], flow7: Step[S0, S7, R, P, Err, A7])(func: (StepOutputs[S1, A1], StepOutputs[S2, A2], StepOutputs[S3, A3], StepOutputs[S4, A4], StepOutputs[S5, A5], StepOutputs[S6, A6], StepOutputs[S7, A7]) ⇒ StepOutputs[S8, A8]): Step[S0, S8, R, P, Err, A8]

    Permalink
  33. def mapParN[S0, R, P, Err, S1, A1, S2, A2, S3, A3, S4, A4, S5, A5, S6, A6, S7, A7](flow1: Step[S0, S1, R, P, Err, A1], flow2: Step[S0, S2, R, P, Err, A2], flow3: Step[S0, S3, R, P, Err, A3], flow4: Step[S0, S4, R, P, Err, A4], flow5: Step[S0, S5, R, P, Err, A5], flow6: Step[S0, S6, R, P, Err, A6])(func: (StepOutputs[S1, A1], StepOutputs[S2, A2], StepOutputs[S3, A3], StepOutputs[S4, A4], StepOutputs[S5, A5], StepOutputs[S6, A6]) ⇒ StepOutputs[S7, A7]): Step[S0, S7, R, P, Err, A7]

    Permalink
  34. def mapParN[S0, R, P, Err, S1, A1, S2, A2, S3, A3, S4, A4, S5, A5, S6, A6](flow1: Step[S0, S1, R, P, Err, A1], flow2: Step[S0, S2, R, P, Err, A2], flow3: Step[S0, S3, R, P, Err, A3], flow4: Step[S0, S4, R, P, Err, A4], flow5: Step[S0, S5, R, P, Err, A5])(f: (StepOutputs[S1, A1], StepOutputs[S2, A2], StepOutputs[S3, A3], StepOutputs[S4, A4], StepOutputs[S5, A5]) ⇒ StepOutputs[S6, A6]): Step[S0, S6, R, P, Err, A6]

    Permalink
  35. def mapParN[S0, R, P, Err, SA, A, SB, B, SC, C, SD, D, SF, F](flowA: Step[S0, SA, R, P, Err, A], flowB: Step[S0, SB, R, P, Err, B], flowC: Step[S0, SC, R, P, Err, C], flowD: Step[S0, SD, R, P, Err, D])(f: (StepOutputs[SA, A], StepOutputs[SB, B], StepOutputs[SC, C], StepOutputs[SD, D]) ⇒ StepOutputs[SF, F]): Step[S0, SF, R, P, Err, F]

    Permalink
  36. def mapParN[S0, R, P, Err, SA, A, SB, B, SC, C, SD, D](flowA: Step[S0, SA, R, P, Err, A], flowB: Step[S0, SB, R, P, Err, B], flowC: Step[S0, SC, R, P, Err, C])(f: (StepOutputs[SA, A], StepOutputs[SB, B], StepOutputs[SC, C]) ⇒ StepOutputs[SD, D]): Step[S0, SD, R, P, Err, D]

    Permalink
  37. def mapParN[S0, R, P, Err, SA, A, SB, B, SC, C](flowA: Step[S0, SA, R, P, Err, A], flowB: Step[S0, SB, R, P, Err, B])(f: (StepOutputs[SA, A], StepOutputs[SB, B]) ⇒ StepOutputs[SC, C]): Step[S0, SC, R, P, Err, C]

    Permalink
  38. def modify[StateIn, StateOut, Output](func: (StateIn) ⇒ (StateOut, Output)): Step[StateIn, StateOut, Any, Any, Nothing, Output]

    Permalink
  39. def name[StateIn, StateOut, Env, Params, Err, Value](name: String)(step: Step[StateIn, StateOut, Env, Params, Err, Value]): Step[StateIn, StateOut, Env, Params, Err, Value]

    Permalink
  40. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  41. val none: Step[Any, Option[Nothing], Any, Any, Nothing, Option[Nothing]]

    Permalink

    Returns a step with the empty value.

  42. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  44. def parameters[P]: Step[Any, P, Any, P, Nothing, P]

    Permalink

    A step that returns the given parameters.

  45. def stage[StateIn, StateOut, Env, Params, Err, Out](func: (StateIn, Params) ⇒ Step[StateIn, StateOut, Env, Params, Err, Out]): Step[StateIn, StateOut, Env, Params, Err, Out]

    Permalink
  46. def state[State]: Step[State, State, Any, Any, Nothing, State]

    Permalink
  47. def stateful[StateIn, Params, StateOut, Out](func: (StateIn, Params) ⇒ (StateOut, Out)): Step[StateIn, StateOut, Any, Params, Nothing, Out]

    Permalink
  48. def statefulEffect[StateIn, Params, StateOut, Out](func: (StateIn, Params) ⇒ (StateOut, Out)): Step[StateIn, StateOut, Any, Params, Throwable, Out]

    Permalink
  49. def step[StateIn, StateOut, Params, Out](func: (StateIn, Params) ⇒ (StateOut, Out)): Step[StateIn, StateOut, Any, Params, Throwable, Out]

    Permalink

    Create a Step by providing a function that takes in some state and parameters and returns a tuple of the output state and the result.

  50. def succeed[State, Value](state: ⇒ State, value: ⇒ Value): Step[Any, State, Any, Any, Nothing, Value]

    Permalink
  51. def succeed[Value](value: ⇒ Value): Step[Any, Unit, Any, Any, Nothing, Value]

    Permalink
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  53. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  54. val unit: Step[Any, Unit, Any, Any, Nothing, Unit]

    Permalink

    A step that succeeds with a unit value.

  55. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. def withEnvironment[Env, Err, State, Value](effect: ZIO[Env, Err, (State, Value)]): Step[Any, State, Env, Any, Err, Value]

    Permalink
  59. def withEnvironment[Env, Err, State, Value](func: (Env) ⇒ ZIO[Env, Err, (State, Value)]): Step[Any, State, Env, Any, Err, Value]

    Permalink
  60. def withOutputs[A](valueAndSate: A): Step[Any, A, Any, Any, Nothing, A]

    Permalink
  61. def withParams[Env, Params, Err, Out](func: (Params) ⇒ ZIO[Env, Err, Out]): Step[Any, Unit, Env, Params, Err, Out]

    Permalink
  62. def withStateAndValue[A](valueAndSate: ⇒ A): Step[Any, A, Any, Any, Nothing, A]

    Permalink
  63. def withStateAs[State](state: ⇒ State): Step[Any, State, Any, Any, Nothing, Unit]

    Permalink
  64. def withValue[Value](value: ⇒ Value): Step[Any, Unit, Any, Any, Nothing, Value]

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped