StateModuleExecutor
Facade for executing transactions against a mounted org.sigilaris.core.application.module.runtime.StateModule.
Typical usage previously required threading through StateT.run and EitherT.value, which is verbose and obscures intent. This helper wraps the pattern and offers both Eff and plain F results.
Attributes
- Source
- StateModuleExecutor.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StateModuleExecutor.type
Members list
Value members
Concrete methods
Legacy tuple wrapper over runWithModule using an implicit module.
Legacy tuple wrapper over runWithModule using an implicit module.
Attributes
- Source
- StateModuleExecutor.scala
Executes a transaction using an implicit module and returns the execution witness.
Executes a transaction using an implicit module and returns the execution witness.
Attributes
- Source
- StateModuleExecutor.scala
Runs from empty state using an implicit module and returns the execution witness.
Runs from empty state using an implicit module and returns the execution witness.
Attributes
- Source
- StateModuleExecutor.scala
Runs from empty state with an explicit module and returns the execution witness.
Runs from empty state with an explicit module and returns the execution witness.
Attributes
- Source
- StateModuleExecutor.scala
Executes a routed transaction using an implicit module and returns the execution witness.
Executes a routed transaction using an implicit module and returns the execution witness.
Attributes
- Source
- StateModuleExecutor.scala
Executes a routed transaction with a fresh access log and returns the per-transaction execution witness.
Executes a routed transaction with a fresh access log and returns the per-transaction execution witness.
Attributes
- Source
- StateModuleExecutor.scala
Executes one transaction with a fresh access log over the current trie state and returns the per-transaction execution witness.
Executes one transaction with a fresh access log over the current trie state and returns the per-transaction execution witness.
Attributes
- Source
- StateModuleExecutor.scala
Runs from empty state using an implicit module in scope.
Runs from empty state using an implicit module in scope.
Attributes
- Source
- StateModuleExecutor.scala
Runs from org.sigilaris.core.application.state.StoreState.empty for common testing scenarios.
Runs from org.sigilaris.core.application.state.StoreState.empty for common testing scenarios.
Attributes
- Source
- StateModuleExecutor.scala
Legacy tuple wrapper over runRoutedWithModule using an implicit module.
Legacy tuple wrapper over runRoutedWithModule using an implicit module.
Attributes
- Source
- StateModuleExecutor.scala
Legacy tuple wrapper for routed execution against a composed module.
Legacy tuple wrapper for routed execution against a composed module.
Attributes
- Source
- StateModuleExecutor.scala
Convenience to obtain the plain F result using an implicit module.
Convenience to obtain the plain F result using an implicit module.
Attributes
- Source
- StateModuleExecutor.scala
Convenience to obtain the plain F result for the legacy tuple wrapper.
Convenience to obtain the plain F result for the legacy tuple wrapper.
Attributes
- Source
- StateModuleExecutor.scala
Executes a signed transaction against the supplied module.
Executes a signed transaction against the supplied module.
Attributes
- Source
- StateModuleExecutor.scala