object Async extends Serializable
- Source
- Async.scala
- Alphabetic
- By Inheritance
- Async
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait AllOps[F[_], A] extends Ops[F, A] with Sync.AllOps[F, A] with LiftIO.AllOps[F, A]
- trait Ops[F[_], A] extends AnyRef
- trait ToAsyncOps extends AnyRef
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
apply[F[_]](implicit instance: Async[F]): Async[F]
- Annotations
- @inline()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
implicit
def
catsEitherTAsync[F[_], L](implicit arg0: Async[F]): Async[[γ$0$]EitherT[F, L, γ$0$]]
Async instance built for
cats.data.EitherT
values initialized with anyF
data type that also implementsAsync
. -
implicit
def
catsOptionTAsync[F[_]](implicit arg0: Async[F]): Async[[β$1$]OptionT[F, β$1$]]
Async instance built for
cats.data.OptionT
values initialized with anyF
data type that also implementsAsync
. -
implicit
def
catsStateTAsync[F[_], S](implicit arg0: Async[F]): Async[[γ$2$]IndexedStateT[F, S, S, γ$2$]]
Async instance built for
cats.data.StateT
values initialized with anyF
data type that also implementsAsync
. -
implicit
def
catsWriterTAsync[F[_], L](implicit arg0: Async[F], arg1: Monoid[L]): Async[[γ$3$]WriterT[F, L, γ$3$]]
Async instance built for
cats.data.WriterT
values initialized with anyF
data type that also implementsAsync
. -
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
liftIO[F[_], A](io: IO[A])(implicit F: Async[F]): F[A]
Lifts any
IO
value into any data type implementing Async.Lifts any
IO
value into any data type implementing Async.This is the default
Async.liftIO
implementation. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
never[F[_], A](implicit F: Async[F]): F[A]
Returns an non-terminating
F[_]
, that never completes with a result, being equivalent withasync(_ => ())
. -
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
shift[F[_]](ec: ExecutionContext)(implicit F: Async[F]): F[Unit]
Generic shift operation, defined for any
Async
data type.Generic shift operation, defined for any
Async
data type.Shifts the bind continuation onto the specified thread pool. Analogous with IO.shift.
-
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
- @native() @throws( ... )
- object nonInheritedOps extends ToAsyncOps
- object ops