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

Function adjust

packages/effect/src/TestClock.ts:470–473  ·  view source on GitHub ↗
(durationInput: Duration.DurationInput)

Source from the content-addressed store, hash-verified

468 * @since 2.0.0
469 */
470export const adjust = (durationInput: Duration.DurationInput): Effect.Effect<void> => {
471 const duration = Duration.decode(durationInput)
472 return testClockWith((testClock) => testClock.adjust(duration))
473}
474
475/**
476 * @since 2.0.0

Callers 1

Calls 3

testClockWithFunction · 0.85
decodeMethod · 0.80
adjustMethod · 0.65

Tested by

no test coverage detected