All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tofu.package.scala Maven / Gradle / Ivy

There is a newer version: 0.13.6
Show newest version
import cats.effect.Fiber
import cats.data.Ior
import tofu.kernel.KernelTypes
import cats.effect.kernel.Outcome

package object tofu extends KernelTypes {

  type IorC[C[_], E, A] = Ior[C[E], C[A]]

  type GenStart[F[_], E] = Fibers[F, Outcome[F, E, _], Fiber[F, E, _]]
  type Start[F[_]]       = GenStart[F, Throwable]

  type Timeout[F[_]] = tofu.time.Timeout[F]

  val Timeout: tofu.time.Timeout.type = tofu.time.Timeout
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy