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

Method suspendedWarningDone

packages/effect/src/TestClock.ts:380–387  ·  view source on GitHub ↗

* Cancels the warning message that is displayed if a test is advancing the * `TestClock` but a fiber is not suspending.

()

Source from the content-addressed store, hash-verified

378 * `TestClock` but a fiber is not suspending.
379 */
380 suspendedWarningDone(): Effect.Effect<void> {
381 return synchronized.updateSomeEffect(this.suspendedWarningState, (suspendedWarningData) => {
382 if (SuspendedWarningData.isPending(suspendedWarningData)) {
383 return Option.some(pipe(core.interruptFiber(suspendedWarningData.fiber), core.as(SuspendedWarningData.start)))
384 }
385 return Option.none()
386 })
387 }
388 /**
389 * Runs all effects scheduled to occur on or before the specified instant,
390 * which may depend on the current time, in order.

Callers 2

awaitSuspendedMethod · 0.95
liveFunction · 0.95

Calls 1

pipeFunction · 0.70

Tested by

no test coverage detected