NodeInitializer

org.sigilaris.node.jvm.runtime.NodeInitializer
See theNodeInitializer companion trait

Companion for NodeInitializer providing a functional constructor.

Attributes

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

Members list

Value members

Concrete methods

def apply[F[_], Services](f: Services => F[Unit]): NodeInitializer[F, Services]

Creates a NodeInitializer from a function.

Creates a NodeInitializer from a function.

Type parameters

F

effect type

Services

the service bundle type

Value parameters

f

initialization function

Attributes

Returns

a node initializer wrapping f

Source
NodeInitializer.scala