effect-io-ai

Package: @effect/printer
Module: DocStream

DocStream.LineStream

Represents a Doc containing a single line. The indentation represents the indentation level for the subsequent line in the Doc.

Signature

export interface LineStream<A> extends DocStream.Variance<A> {
  readonly _tag: "LineStream"
  readonly indentation: number
  readonly stream: DocStream<A>
}

Source

Since v1.0.0