The host's platform services in one layer (Effect's NodeServices)::
fx.run_main(program.pipe(fx.provide(platform.layer)))provides the live FileSystem, Path, Stdio, Terminal and
ChildProcessSpawner. Cryptography is provided explicitly, with
crypto.native.layer or a family's own layer.
Values#
| Attribute | Type | Description |
|---|---|---|
layer | Layer[PlatformServices] | The live |
Types#
| Type | Definition | Description |
|---|---|---|
PlatformServices | type PlatformServices = ChildProcessSpawner | FileSystem | Path | Stdio | Terminal |