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

Import

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

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