SyncSafe1

izumi.functional.bio.SyncSafe1$
See theSyncSafe1 companion trait

Attributes

Companion:
trait
Graph
Supertypes
Self type

Members list

Concise view

Value members

Concrete methods

def apply[F[_] : SyncSafe1]: SyncSafe1[F]

Implicits

Implicits

implicit def fromSync[F[_], Sync[_[_]] : cats.effect.kernel.Sync](implicit evidence$2: cats.effect.kernel.Sync[Sync], F0: Sync[F]): SyncSafe1[F]

This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have cats-effect as a dependency without REQUIRING a cats-effect dependency.

This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have cats-effect as a dependency without REQUIRING a cats-effect dependency.

Optional instance via https://blog.7mind.io/no-more-orphans.html

Attributes

Inherited implicits

final implicit def covarianceConversion[F[_], G[_]](syncSafe: SyncSafe1[F])(implicit ev: F[Unit] <:< G[Unit]): SyncSafe1[G]

Attributes

Inherited from:
LowPrioritySyncSafeInstances2
final implicit def fromBIO[F[_, _] : IO2]: SyncSafe1[[_] =>> F[Nothing, _$13]]

Attributes

Inherited from:
LowPrioritySyncSafeInstances1
final implicit def fromBIO3[F[_, _, _] : IO3]: SyncSafe1[[_] =>> F[Any, Nothing, _$9]]

Attributes

Inherited from:
LowPrioritySyncSafeInstances0
final implicit def limitedCovariance2[C <: ([f[_]] =>> SyncSafe1[f]), FR[_, _], R0](implicit F: C[[_] =>> FR[Nothing, _$18]] { type Divergence = Nondivergent; }): Of[C[[_] =>> FR[R0, _$19]]]

Emulate covariance. We're forced to employ these because we can't make SyncSafe covariant, because covariant implicits are broken (see scalac bug)

Emulate covariance. We're forced to employ these because we can't make SyncSafe covariant, because covariant implicits are broken (see scalac bug)

Safe because F appears only in a covariant position

Attributes

See also:
Inherited from:
LowPrioritySyncSafeInstances2
final implicit def limitedCovariance3[C <: ([f[_]] =>> SyncSafe1[f]), FR[_, _, _], R0, E](implicit F: C[[_] =>> FR[Any, Nothing, _$25]] { type Divergence = Nondivergent; }): Of[C[[_] =>> FR[R0, E, _$26]]]

Attributes

Inherited from:
LowPrioritySyncSafeInstances2