Locals

kyo.locals$.Locals$
object Locals

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Locals.type

Members list

Concise view

Type members

Classlikes

object State

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
State.type

Types

type State = Map[Local[_], Any]

Value members

Concrete methods

def apply[T](defaultValue: T)(using fr: Frame["Locals.apply"]): Local[T]
def restore[T, S](st: State)(f: T > S)(using fr: Frame["Locals.restore"]): T > S | IOs
def save(using fr: Frame["Locals.save"]): State > IOs