type-alias / @typed/fx

Fx.ToStreamOptions

Buffering and callback options accepted while adapting an Fx to an Effect Stream.

Package version
2.0.0-beta.7
Category
Operator options
Since
1.0.0
Member of
Fx

Import

import { Fx } from "@typed/fx";

Access Fx.ToStreamOptions through the imported Fx export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

Signatures

export type ToStreamOptions = Parameters<typeof Stream.callback<unknown, unknown, unknown>>[1];

Why

The adapter exposes Effect Stream’s own callback policy instead of inventing a second buffering vocabulary.

Ownership and lifetime

This type alias owns no queue or subscription. The selected policy takes effect only when the resulting Stream is run.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source