BunStdio.ts
BunStdio.ts overview
Section titled “BunStdio.ts overview”Process stdio for Bun applications.
This module provides the Bun layer for Effect’s Stdio service by using the
shared Node stdio implementation. Arguments come from process.argv, input
is read from process.stdin, and output and error output write to
process.stdout and process.stderr.
Since v4.0.0
Exports Grouped by Category
Section titled “Exports Grouped by Category”layers
Section titled “layers”Provides the Stdio service backed by the current process arguments,
stdin, stdout, and stderr streams.
Signature
declare const layer: Layer.Layer<Stdio, never, never>Since v4.0.0