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

Function isStreamSse

packages/effect/src/unstable/httpapi/HttpApiSchema.ts:407–408  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

405
406/** @internal */
407export const isStreamSse = (u: unknown): u is StreamSse<Sse.EventCodec, Schema.Top, unknown> =>
408 isStreamSchema(u) && u._tag === "StreamSse"
409
410/** @internal */
411export const isStreamUint8Array = (u: unknown): u is StreamUint8Array =>

Callers

nothing calls this directly

Calls 1

isStreamSchemaFunction · 0.70

Tested by

no test coverage detected