sealed abstract class Ack extends Future[Ack] with Serializable
Represents an acknowledgement of processing that a consumer sends back upstream. Useful to implement back-pressure.
- Source
- Ack.scala
- Alphabetic
- By Inheritance
- Ack
- Serializable
- Future
- Awaitable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract val AsSuccess: Success[Ack]
- abstract def isCompleted: Boolean
- Definition Classes
- Future
- abstract def ready(atMost: Duration)(implicit permit: CanAwait): Ack.this.type
- Definition Classes
- Awaitable
- Annotations
- @throws(classOf[java.util.concurrent.TimeoutException]) @throws(classOf[java.lang.InterruptedException])
- abstract def result(atMost: Duration)(implicit permit: CanAwait): Ack
- Definition Classes
- Awaitable
- Annotations
- @throws(classOf[java.lang.Exception])
- abstract def value: Option[Try[Ack]]
- Definition Classes
- Future
Concrete 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
- def andThen[U](pf: PartialFunction[Try[Ack], U])(implicit executor: ExecutionContext): Future[Ack]
- Definition Classes
- Future
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def collect[S](pf: PartialFunction[Ack, S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Future
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def failed: Future[Throwable]
- Definition Classes
- Future
- def fallbackTo[U >: Ack](that: Future[U]): Future[U]
- Definition Classes
- Future
- def filter(p: (Ack) => Boolean)(implicit executor: ExecutionContext): Future[Ack]
- Definition Classes
- Future
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flatMap[S](f: (Ack) => Future[S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Future
- def flatten[S](implicit ev: <:<[Ack, Future[S]]): Future[S]
- Definition Classes
- Future
- def foreach[U](f: (Ack) => U)(implicit executor: ExecutionContext): Unit
- Definition Classes
- Future
- final def getClass(): Class[_ <: AnyRef]
- 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[S](f: (Ack) => S)(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Future
- def mapTo[S](implicit tag: ClassTag[S]): Future[S]
- Definition Classes
- Future
- 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 onComplete[U](func: (Try[Ack]) => U)(implicit executor: ExecutionContext): Unit
- Definition Classes
- Ack → Future
- def recover[U >: Ack](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Future[U]
- Definition Classes
- Future
- def recoverWith[U >: Ack](pf: PartialFunction[Throwable, Future[U]])(implicit executor: ExecutionContext): Future[U]
- Definition Classes
- Future
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def transform[S](f: (Try[Ack]) => Try[S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Ack → Future
- def transform[S](s: (Ack) => S, f: (Throwable) => Throwable)(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Future
- final def transformWith[S](f: (Try[Ack]) => Future[S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Ack → Future
- 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 withFilter(p: (Ack) => Boolean)(implicit executor: ExecutionContext): Future[Ack]
- Definition Classes
- Future
- def zip[U](that: Future[U]): Future[(Ack, U)]
- Definition Classes
- Future
- def zipWith[U, R](that: Future[U])(f: (Ack, U) => R)(implicit executor: ExecutionContext): Future[R]
- Definition Classes
- Future
This is the API documentation for the Monix library.
Package Overview
monix.execution exposes lower level primitives for dealing with asynchronous execution:
Atomic
types, as alternative tojava.util.concurrent.atomic
monix.catnap exposes pure abstractions built on top of the Cats-Effect type classes:
monix.eval is for dealing with evaluation of results, thus exposing Task and Coeval.
monix.reactive exposes the
Observable
pattern:Observable
implementationsmonix.tail exposes Iterant for purely functional pull based streaming:
Batch
andBatchCursor
, the alternatives to Scala'sIterable
andIterator
respectively that we are using within Iterant's encodingYou can control evaluation with type you choose - be it Task, Coeval, cats.effect.IO or your own as long as you provide correct cats-effect or cats typeclass instance.