scalaz.stream.Process

SourceSyntax

implicit class SourceSyntax[O] extends WyeOps[O]

Syntax for processes that have its effects wrapped in Task

Source
Process.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SourceSyntax
  2. WyeOps
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SourceSyntax(self: Process[Task, O])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from SourceSyntax[O] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (SourceSyntax[O], B)

    Implicit information
    This member is added by an implicit conversion from SourceSyntax[O] to ArrowAssoc[SourceSyntax[O]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def either[O2 >: O, O3](p2: Process[Task, O3])(implicit S: Strategy): Process[Task, \/[O2, O3]]

    Non-deterministic interleave of both streams.

    Non-deterministic interleave of both streams. Emits values whenever either is defined. Note this terminates after BOTH sides terminate

    Definition Classes
    WyeOps
  11. def ensuring(cond: (SourceSyntax[O]) ⇒ Boolean, msg: ⇒ Any): SourceSyntax[O]

    Implicit information
    This member is added by an implicit conversion from SourceSyntax[O] to Ensuring[SourceSyntax[O]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (SourceSyntax[O]) ⇒ Boolean): SourceSyntax[O]

    Implicit information
    This member is added by an implicit conversion from SourceSyntax[O] to Ensuring[SourceSyntax[O]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): SourceSyntax[O]

    Implicit information
    This member is added by an implicit conversion from SourceSyntax[O] to Ensuring[SourceSyntax[O]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): SourceSyntax[O]

    Implicit information
    This member is added by an implicit conversion from SourceSyntax[O] to Ensuring[SourceSyntax[O]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from SourceSyntax[O] to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. def forwardFill(implicit S: Strategy): Process[Task, O]

    Produce a continuous stream from a discrete stream by using the most recent value.

  20. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def merge[O2 >: O](p2: Process[Task, O2])(implicit S: Strategy): Process[Task, O2]

    Non-deterministic interleave of both streams.

    Non-deterministic interleave of both streams. Emits values whenever either is defined. Note this terminates after BOTH sides terminate

    Definition Classes
    WyeOps
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def observeThrough[O2](ch: Channel[Task, O, O2]): Process[Task, (O, O2)]

    Returns result of channel evaluation tupled with original value passed to channel.

  28. val self: Process[Task, O]

    Definition Classes
    SourceSyntaxWyeOps
  29. final def stepAsync(cb: (\/[Cause, (Seq[O], Cont[Task, O])]) ⇒ Unit)(implicit S: Strategy): (EarlyCause) ⇒ Unit

    Asynchronous stepping of this Process.

    Asynchronous stepping of this Process. Note that this method is not resource safe unless callback is called with _left_ side completed. In that case it is guaranteed that all cleanups has been successfully completed. User of this method is responsible for any cleanup actions to be performed by running the next Process obtained on right side of callback.

    This method returns a function, that when applied, causes the running computation to be interrupted. That is useful of process contains any asynchronous code, that may be left with incomplete callbacks. If the evaluation of the process is interrupted, then the interruption is only active if the callback was not completed before, otherwise interruption is no-op.

    There is chance, that cleanup code of intermediate Await will get called twice on interrupt, but always at least once. The second cleanup invocation in that case may run on different thread, asynchronously.

    Please note that this method is *not* intended for external use! It is the Await analogue of step, which is also an internal-use function.

    cb

    result of the asynchronous evaluation of the process. Note that, the callback is never called on the right side, if the sequence is empty.

    S

    Strategy to use when evaluating the process. Note that Strategy.Sequential may cause SOE.

    returns

    Function to interrupt the evaluation

    Attributes
    protected[scalaz.stream]
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toSignal(implicit S: Strategy): Signal[O]

    converts process to signal *

  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wye[O2, O3](p2: Process[Task, O2])(y: Wye[O, O2, O3])(implicit S: Strategy): Process[Task, O3]

    Like tee, but we allow the Wye to read non-deterministically from both sides at once.

    Like tee, but we allow the Wye to read non-deterministically from both sides at once.

    If y is in the state of awaiting Both, this implementation will continue feeding y from either left or right side, until either it halts or _both_ sides halt.

    If y is in the state of awaiting L, and the left input has halted, we halt. Likewise for the right side.

    For as long as y permits it, this implementation will _always_ feed it any leading Emit elements from either side before issuing new F requests. More sophisticated chunking and fairness policies do not belong here, but should be built into the Wye and/or its inputs.

    The strategy passed in must be stack-safe, otherwise this implementation will throw SOE. Preferably use one of the Strategys.Executor(es) based strategies

    Definition Classes
    WyeOps
  37. def yip[O2](p2: Process[Task, O2])(implicit S: Strategy): Process[Task, (O, O2)]

    Non-deterministic version of zip.

    Non-deterministic version of zip. Note this terminates whenever one of streams terminate

    Definition Classes
    WyeOps
  38. def yipWith[O2, O3](p2: Process[Task, O2])(f: (O, O2) ⇒ O3)(implicit S: Strategy): Process[Task, O3]

    Non-deterministic version of zipWith.

    Non-deterministic version of zipWith. Note this terminates whenever one of streams terminate

    Definition Classes
    WyeOps
  39. def [B](y: B): (SourceSyntax[O], B)

    Implicit information
    This member is added by an implicit conversion from SourceSyntax[O] to ArrowAssoc[SourceSyntax[O]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from SourceSyntax[O] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (sourceSyntax: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from SourceSyntax[O] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (sourceSyntax: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: SourceSyntax[O]

    Implicit information
    This member is added by an implicit conversion from SourceSyntax[O] to ArrowAssoc[SourceSyntax[O]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (sourceSyntax: ArrowAssoc[SourceSyntax[O]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: SourceSyntax[O]

    Implicit information
    This member is added by an implicit conversion from SourceSyntax[O] to Ensuring[SourceSyntax[O]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (sourceSyntax: Ensuring[SourceSyntax[O]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from WyeOps[O]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SourceSyntax[O] to StringAdd

Inherited by implicit conversion any2stringfmt from SourceSyntax[O] to StringFormat

Inherited by implicit conversion any2ArrowAssoc from SourceSyntax[O] to ArrowAssoc[SourceSyntax[O]]

Inherited by implicit conversion any2Ensuring from SourceSyntax[O] to Ensuring[SourceSyntax[O]]

Ungrouped