ScopeSearch

rescala.core.ScopeSearch
See theScopeSearch companion object
case class ScopeSearch[State[_]](self: Either[Transaction[State], DynamicScope[State]])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def embedTransaction[T](f: (Transaction[State]) => T): T

Either just use the statically found transaction, or do a lookup in the dynamic scope. If the lookup fails, it will start a new transaction.

Either just use the statically found transaction, or do a lookup in the dynamic scope. If the lookup fails, it will start a new transaction.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product