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

Method sleeps

packages/effect/src/TestClock.ts:218–223  ·  view source on GitHub ↗

* Returns a list of the times at which all queued effects are scheduled to * resume.

()

Source from the content-addressed store, hash-verified

216 * resume.
217 */
218 get sleeps(): Effect.Effect<Chunk.Chunk<number>> {
219 return core.map(
220 ref.get(this.clockState),
221 (data) => Chunk.map(data.sleeps, (_) => _[0])
222 )
223 }
224 /**
225 * Increments the current clock time by the specified duration. Any effects
226 * that were scheduled to occur on or before the new time will be run in

Callers 1

Calls 2

mapMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected