Skip to content

@usine/config/instance-folder

Loads an instance folder; an invalid usine.yaml fails the load, an invalid loop is quarantined and its siblings still load.

  • Context.ServiceClass

readonly Service: object

The service’s operations: what yield* InstanceFolder returns.

readonly load: (root) => Effect.Effect<LoadedInstance, FactoryConfigError>

Parameter Type
root InstanceDirectory

Effect.Effect<LoadedInstance, FactoryConfigError>

readonly static layer: Layer<InstanceFolder, never, ConfigParser | FileSystem | Path>