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

Function isShutdown

packages/effect/src/PubSub.ts:791–791  ·  view source on GitHub ↗
(self: PubSub<A>)

Source from the content-addressed store, hash-verified

789 * @since 2.0.0
790 */
791export const isShutdown = <A>(self: PubSub<A>): Effect.Effect<boolean> => Effect.sync(() => isShutdownUnsafe(self))
792
793/**
794 * Checks synchronously whether `shutdown` has been called, returning `true`

Callers

nothing calls this directly

Calls 2

isShutdownUnsafeFunction · 0.85
syncMethod · 0.45

Tested by

no test coverage detected