ModuleFactory

org.sigilaris.core.application.module.runtime.StateModule.ModuleFactory
See theModuleFactory companion trait
object ModuleFactory

Companion for ModuleFactory.

Attributes

Companion
trait
Source
StateModule.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def fromBlueprint[F[_], MName <: String, Owns <: Tuple, Txs <: Tuple](blueprint: ModuleBlueprint[F, MName, Owns, EmptyTuple, Txs]): ModuleFactory[F, Owns, Txs]

Creates a ModuleFactory from a blueprint with no external dependencies.

Creates a ModuleFactory from a blueprint with no external dependencies.

Type parameters

F

the effect type

MName

the module name

Owns

the owned schema tuple

Txs

the transaction types tuple

Value parameters

blueprint

the module blueprint to wrap

Attributes

Returns

a ModuleFactory that can mount the blueprint at any path

Source
StateModule.scala