
tofu.internal.carriers.scopedMacro.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tofu-kernel_3 Show documentation
Show all versions of tofu-kernel_3 Show documentation
Opinionated set of tools for functional programming in Scala
package tofu.internal
package carriers
import tofu.Scoped
trait ScopedCarrier2Macro:
inline given asyncExecute[F[_]]: ScopedCarrier2[Scoped.Main, F] =
Interop.delegate1[F, ScopedCarrier2[Scoped.Main, F]]("tofu.interop.CE2Kernel.asyncExecute")
inline given blockerExecute[F[_]]: ScopedCarrier2[Scoped.Blocking, F] =
Interop.delegate1[F, ScopedCarrier2[Scoped.Blocking, F]]("tofu.interop.CE2Kernel.blockerExecute")
trait ScopedCarrier3Macro:
inline given asyncExecute[F[_]]: ScopedCarrier3[Scoped.Main, F] =
Interop.delegate1[F, ScopedCarrier3[Scoped.Main, F]]("tofu.interop.CE3Kernel.asyncExecute")
inline given blockerExecute[F[_]]: ScopedCarrier3[Scoped.Blocking, F] =
Interop.delegate1[F, ScopedCarrier3[Scoped.Blocking, F]]("tofu.interop.CE3Kernel.blockerExecute")
© 2015 - 2025 Weber Informatics LLC | Privacy Policy