QuasiAsync

izumi.functional.quasi.QuasiAsync
See theQuasiAsync companion object
trait QuasiAsync[F[_]]

Parallel & async operations for F required by distage-* libraries. Unlike QuasiIO there's nothing "quasi" about it – it makes sense. But named like that for consistency anyway.

Internal use class, as with QuasiIO, it's only public so that you can define your own instances, better use izumi.functional.bio or cats typeclasses for application logic.

TODO: we want to get rid of this by providing Identity implementations for Parallel3, Async3 and Temporal3 See https://github.com/7mind/izumi/issues/787

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def async[A](effect: (Either[Throwable, A] => Unit) => Unit): F[A]
def parTraverse[A, B](l: IterableOnce[A])(f: A => F[B]): F[List[B]]
def parTraverseN[A, B](n: Int)(l: IterableOnce[A])(f: A => F[B]): F[List[B]]
def parTraverseN_[A, B](n: Int)(l: IterableOnce[A])(f: A => F[Unit]): F[Unit]
def parTraverse_[A](l: IterableOnce[A])(f: A => F[Unit]): F[Unit]
def sleep(duration: FiniteDuration): F[Unit]