Package: effect
Module: Mailbox
Create a ReadonlyMailbox from a Stream.
Signature
declare const fromStream: { (options?: { readonly capacity?: number | undefined; readonly strategy?: "suspend" | "dropping" | "sliding" | undefined; }): <A, E, R>(self: Stream<A, E, R>) => Effect<ReadonlyMailbox<A, E>, never, R | Scope>; <A, E, R>(self: Stream<A, E, R>, options?: { readonly capacity?: number | undefined; readonly strategy?: "suspend" | "dropping" | "sliding" | undefined; }): Effect<ReadonlyMailbox<A, E>, never, R | Scope>; }
Since v3.11.0