Suspends for ms before resolving. The engine's only deliberate wait is a
retry policy's backoff between attempts inside one drainEffects call, so
a deterministic harness substitutes one that moves its Clock instead
of spending real time. Injected once beside the clock, never per call.
A substitute must not resolve before ms has passed on whatever clock the
engine reads: a policy's pacing and its expiryMs window are both judged
against that clock.
Suspends for
msbefore resolving. The engine's only deliberate wait is aretrypolicy's backoff between attempts inside onedrainEffectscall, so a deterministic harness substitutes one that moves its Clock instead of spending real time. Injected once beside the clock, never per call.A substitute must not resolve before
mshas passed on whatever clock the engine reads: a policy's pacing and itsexpiryMswindow are both judged against that clock.