object Scoped extends ScopedInstance with ScopedInstancesMacro
- Alphabetic
- By Inheritance
- Scoped
- ScopedInstancesMacro
- ScopedInstance
- ScopedInstance0
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
type
Blocking
type tag for blocking scopes
-
abstract
type
Calculation
type tag for resource-consuming calculations
- final class Local[C] extends AnyVal
-
abstract
type
Main
type tag for the main scope
- final class Make[Tag, F[_]] extends AnyVal
- abstract class Maker[Tag, F[_], Arbitrary] extends Scoped[Tag, F]
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[Tag, F[_]](implicit sc: Scoped[Tag, F]): Scoped[Tag, F]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
implicit final
def
interopCE2[Tag, F[_]](implicit carrier: ScopedCarrier2[Tag, F]): ScopedExecute[Tag, F]
- Definition Classes
- ScopedInstance0
-
implicit final
def
interopCE3[Tag, F[_]](implicit carrier: ScopedCarrier3[Tag, F]): ScopedExecute[Tag, F]
- Definition Classes
- ScopedInstance
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
local[C]: Local[C]
could be used to define scopes with modified environment
could be used to define scopes with modified environment
case class MyContext(field: Field, ...) val newField: Field = ??? type My[+A] = Env[MyContext, A] type Updated implicit val myScoped: Scoped[Updated, My] = Scoped.local[MyContext](_.copy(field = newField))
-
def
make[Tag, F[_]]: Make[Tag, F]
a helper for creating new instances of
Scopeda helper for creating new instances of
Scopedval instance: Scoped[Tag, F] = Scoped.make[Tag, F](fa => ...)
-
final macro
def
makeExecuteCE2[Tag, F[_]](p1: ExecutionContext): ScopedExecute[Tag, F]
make ScopedExecute instance with given tag using cats-effect2 hidden implicits are: Async[F], ContextShift[F]
make ScopedExecute instance with given tag using cats-effect2 hidden implicits are: Async[F], ContextShift[F]
- Definition Classes
- ScopedInstancesMacro
-
final macro
def
makeExecuteCE3[Tag, F[_]](p1: ExecutionContext): ScopedExecute[Tag, F]
make ScopedExecute instance with given tag using cats-effect3 hidden implicit is Async[F]
make ScopedExecute instance with given tag using cats-effect3 hidden implicit is Async[F]
- Definition Classes
- ScopedInstancesMacro
-
def
mid[Tag, U[_[_]], F[_]](implicit U: PureK[U], F: Scoped[Tag, F]): U[[β$2$]Mid[F, β$2$]]
helpful method to create middleware that executes all proceses in the given scope
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated