object Sync extends Serializable
- Source
- Sync.scala
- Alphabetic
- By Inheritance
- Sync
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
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: Sync[F]): Sync[F]
- Annotations
- @inline()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
implicit
val
catsEitherTEvalSync: Sync[[γ$0$]EitherT[Eval, Throwable, γ$0$]]
Sync instance built for
EitherT[Eval, Throwable, ?]
.Sync instance built for
EitherT[Eval, Throwable, ?]
.The
cats.Eval
data type does not have aMonadError
implementation, because it's aComonad
and in this case it cannot describe partial functions that can throw errors, because itsComonad#value
needs to be a pure and total function.But by wrapping it in
EitherT
, it's then possible to use in pieces of logic requiringSync
. -
implicit
def
catsEitherTSync[F[_], L](implicit arg0: Sync[F]): Sync[[γ$2$]EitherT[F, L, γ$2$]]
Sync instance built for
cats.data.EitherT
values initialized with anyF
data type that also implementsSync
. -
implicit
def
catsOptionTSync[F[_]](implicit arg0: Sync[F]): Sync[[β$3$]OptionT[F, β$3$]]
Sync instance built for
cats.data.OptionT
values initialized with anyF
data type that also implementsSync
. -
implicit
def
catsStateTSync[F[_], S](implicit arg0: Sync[F]): Sync[[γ$4$]IndexedStateT[F, S, S, γ$4$]]
Sync instance built for
cats.data.StateT
values initialized with anyF
data type that also implementsSync
. -
implicit
def
catsWriterTSync[F[_], L](implicit arg0: Sync[F], arg1: Monoid[L]): Sync[[γ$5$]WriterT[F, L, γ$5$]]
Sync instance built for
cats.data.WriterT
values initialized with anyF
data type that also implementsSync
. -
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
-
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
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 ToSyncOps
- object ops