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

Method runtimeFlags

packages/effect/src/internal/fiberRuntime.ts:367–374  ·  view source on GitHub ↗

* Gets the fiber runtime flags.

()

Source from the content-addressed store, hash-verified

365 * Gets the fiber runtime flags.
366 */
367 get runtimeFlags(): Effect.Effect<RuntimeFlags.RuntimeFlags> {
368 return this.ask((state, status) => {
369 if (FiberStatus.isDone(status)) {
370 return state.currentRuntimeFlags
371 }
372 return status.runtimeFlags
373 })
374 }
375
376 /**
377 * Returns the current `FiberScope` for the fiber.

Callers

nothing calls this directly

Calls 1

askMethod · 0.95

Tested by

no test coverage detected