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

Function isInitial

packages/effect/src/unstable/reactivity/AsyncResult.ts:200–200  ·  view source on GitHub ↗
(result: AsyncResult<A, E>)

Source from the content-addressed store, hash-verified

198 * @since 4.0.0
199 */
200export const isInitial = <A, E>(result: AsyncResult<A, E>): result is Initial<A, E> => result._tag === "Initial"
201
202/**
203 * Returns `true` when an `AsyncResult` is either `Success` or `Failure`.

Callers 1

onInitialOrWaitingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected