Skip to content

API Reference

This reference is generated from the source with TypeDoc at build time.

Packages

  • demesne — the core Tag / Context / Layer / Scope types, the ServiceOf helper, the Layer.value / Layer.factory / Layer.make / Layer.acquireRelease constructors, the Layer.merge / Layer.provideTo / Layer.wire combinators, and the terminals Layer.build / Layer.scoped (plus Context.empty).

Context and Layer are each both a type and a value (the companion-object pattern): Context<R> / Context.empty(), Layer<P, E, N> / Layer.make(...). Tag is top-level — it names a service, building neither.

Released under the MIT License.