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

Method is

packages/effect/src/unstable/encoding/Sse.ts:613–615  ·  view source on GitHub ↗

* Returns `true` when the value is an SSE retry directive. * * @since 4.0.0

(u: unknown)

Source from the content-addressed store, hash-verified

611 * @since 4.0.0
612 */
613 static is(u: unknown): u is Retry {
614 return hasProperty(u, RetryTypeId)
615 }
616 /**
617 * Separates SSE retry directives from regular event values.
618 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected