object pipe2
- Source
- pipe2.scala
- Alphabetic
- By Inheritance
- pipe2
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def covary[F[_], I, I2, O](p: Pipe2[Pure, I, I2, O]): Pipe2[F, I, I2, O]
-
def
either[F[_], I, I2](implicit arg0: Async[F]): Pipe2[F, I, I2, Either[I, I2]]
Like
merge
, but tags each output with the branch it came from. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- def interleave[F[_], O]: Pipe2[F, O, O, O]
- def interleaveAll[F[_], O]: Pipe2[F, O, O, O]
-
def
interrupt[F[_], I](implicit arg0: Async[F]): Pipe2[F, Boolean, I, I]
Let through the
s2
branch as long as thes1
branch isfalse
, listening asynchronously for the left branch to becometrue
.Let through the
s2
branch as long as thes1
branch isfalse
, listening asynchronously for the left branch to becometrue
. This halts as soon as either branch halts. -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
merge[F[_], O](implicit arg0: Async[F]): Pipe2[F, O, O, O]
Interleave the two inputs nondeterministically.
Interleave the two inputs nondeterministically. The output stream halts after BOTH
s1
ands2
terminate normally, or in the event of an uncaught failure on eithers1
ors2
. Has the property thatmerge(Stream.empty, s) == s
andmerge(fail(e), s)
will eventually terminate withfail(e)
, possibly after emitting some elements ofs
first. -
def
mergeDrainL[F[_], I, I2](implicit arg0: Async[F]): Pipe2[F, I, I2, I2]
Defined as
s1.drain merge s2
.Defined as
s1.drain merge s2
. Runss1
ands2
concurrently, ignoring any output ofs1
. -
def
mergeDrainR[F[_], I, I2](implicit arg0: Async[F]): Pipe2[F, I, I2, I]
Defined as
s1 merge s2.drain
.Defined as
s1 merge s2.drain
. Runss1
ands2
concurrently, ignoring any output ofs1
. -
def
mergeHaltBoth[F[_], O](implicit arg0: Async[F]): Pipe2[F, O, O, O]
Like
merge
, but halts as soon as _either_ branch halts. -
def
mergeHaltL[F[_], O](implicit arg0: Async[F]): Pipe2[F, O, O, O]
Like
merge
, but halts as soon as thes1
branch halts. -
def
mergeHaltR[F[_], O](implicit arg0: Async[F]): Pipe2[F, O, O, O]
Like
merge
, but halts as soon as thes2
branch halts. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def stepper[I, I2, O](p: Pipe2[Pure, I, I2, O]): Stepper[I, I2, O]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def zip[F[_], I, I2]: Pipe2[F, I, I2, (I, I2)]
- def zipAll[F[_], I, I2](pad1: I, pad2: I2): Pipe2[F, I, I2, (I, I2)]
- def zipAllWith[F[_], I, I2, O](pad1: I, pad2: I2)(f: (I, I2) ⇒ O): Pipe2[F, I, I2, O]
- def zipWith[F[_], I, I2, O](f: (I, I2) ⇒ O): Pipe2[F, I, I2, O]
- object Stepper