Attributes
Members list
Type members
Inherited types
The names of the product elements
The name of the type
Value members
Concrete fields
Including this layer in a call to a compile-time ZLayer constructor, such as ZIO.provide or ZLayer.make, will display a tree visualization of the constructed layer graph as well as a link to Mermaid chart.
Including this layer in a call to a compile-time ZLayer constructor, such as ZIO.provide or ZLayer.make, will display a tree visualization of the constructed layer graph as well as a link to Mermaid chart.
val layer =
ZLayer.make[OldLady](
OldLady.live,
Spider.live,
Fly.live,
Bear.live,
ZLayer.Debug.mermaid
)
// Including `ZLayer.Debug.mermaid` will generate the following compilation error:
//
// ◉ OldLady.live
// ├─◑ Spider.live
// │ ╰─◑ Fly.live
// ╰─◑ Bear.live
// ╰─◑ Fly.live
//
// Mermaid Live Editor Link
// https://mermaid-js.github.io/mermaid-live-editor/edit/#eyJjb2RlIjoiZ3JhcGhcbiAgICBDb25zb2xlLmxpdmVcbiAgICBTcGlkZXIubGl2ZSAtLT4gRmx5LmxpdmVcbiAgICBGbHkubGl2ZSAtLT4gQ29uc29sZS5saXZlXG4gICAgT2xkTGFkeS5saXZlIC0tPiBTcGlkZXIubGl2ZVxuICAgIE9sZExhZHkubGl2ZSAtLT4gQmVhci5saXZlXG4gICAgQmVhci5saXZlIC0tPiBGbHkubGl2ZVxuICAgICIsIm1lcm1haWQiOiAie1xuICBcInRoZW1lXCI6IFwiZGVmYXVsdFwiXG59IiwgInVwZGF0ZUVkaXRvciI6IHRydWUsICJhdXRvU3luYyI6IHRydWUsICJ1cGRhdGVEaWFncmFtIjogdHJ1ZX0=
Attributes
Including this layer in a call to a compile-time ZLayer constructor, such as ZIO.provide or ZLayer.make, will display a tree visualization of the constructed layer graph.
Including this layer in a call to a compile-time ZLayer constructor, such as ZIO.provide or ZLayer.make, will display a tree visualization of the constructed layer graph.
val layer =
ZLayer.make[OldLady](
OldLady.live,
Spider.live,
Fly.live,
Bear.live,
ZLayer.Debug.tree
)
// Including `ZLayer.Debug.tree` will generate the following compilation error:
//
// ◉ OldLady.live
// ├─◑ Spider.live
// │ ╰─◑ Fly.live
// ╰─◑ Bear.live
// ╰─◑ Fly.live