sealed abstract class AsyncPull[F[_], A] extends AnyRef
Result of unconsAsync
. Conceptually similar to a Future
. Can be forced via pull
or stream
.
- Self Type
- AsyncPull[F, A]
- Source
- AsyncPull.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AsyncPull
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (AsyncPull[F, A], B)
-
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
- @native() @throws( ... )
- def ensuring(cond: (AsyncPull[F, A]) ⇒ Boolean, msg: ⇒ Any): AsyncPull[F, A]
- def ensuring(cond: (AsyncPull[F, A]) ⇒ Boolean): AsyncPull[F, A]
- def ensuring(cond: Boolean, msg: ⇒ Any): AsyncPull[F, A]
- def ensuring(cond: Boolean): AsyncPull[F, A]
-
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] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[B](f: (A) ⇒ B): AsyncPull[F, B]
Returns a new async pull by applying
f
with the completed valueA
. -
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()
-
def
pull: Pull[F, Nothing, A]
Converts to a pull, that when flat mapped, semantically blocks on the result.
-
def
race[B](b: AsyncPull[F, B])(implicit F: Effect[F], ec: ExecutionContext): AsyncPull[F, Either[A, B]]
Returns a new async pull that completes with the result of the first async pull that completes between this and
b
. -
def
raceSame(b: AsyncPull[F, A])(implicit F: Effect[F], ec: ExecutionContext): AsyncPull[F, RaceResult[A, AsyncPull[F, A]]]
Like race but requires that the specified async pull has the same result type as this.
-
def
stream: Stream[F, A]
Converts to a stream, that when flat mapped, semantically blocks on the result.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AsyncPull → 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
- @native() @throws( ... )
- def →[B](y: B): (AsyncPull[F, A], B)