MCPcopy Create free account
hub / github.com/Effect-TS/effect / mailboxToStream

Function mailboxToStream

packages/effect/src/internal/stream.ts:3008–3009  ·  view source on GitHub ↗
(self: Mailbox.ReadonlyMailbox<A, E>)

Source from the content-addressed store, hash-verified

3006
3007/** @internal */
3008export const mailboxToStream = <A, E>(self: Mailbox.ReadonlyMailbox<A, E>): Stream.Stream<A, E> =>
3009 fromChannel(mailbox.toChannel(self))
3010
3011/** @internal */
3012export const mailboxFromStream: {

Callers

nothing calls this directly

Calls 1

fromChannelFunction · 0.70

Tested by

no test coverage detected