MCPcopy Index your code
hub / github.com/Effect-TS/effect / isShutdown

Method isShutdown

packages/effect/src/internal/queue.ts:140–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138 }
139
140 get isShutdown(): Effect.Effect<boolean> {
141 return core.sync(() => MutableRef.get(this.shutdownFlag))
142 }
143
144 get awaitShutdown(): Effect.Effect<void> {
145 return core.deferredAwait(this.shutdownHook)

Callers 3

fromChunkQueueFunction · 0.45
fromQueueFunction · 0.45
fromTQueueFunction · 0.45

Calls 2

syncMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected