For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10

Interface: RandomSource

The randomness all SDK runtime jitter resolves through — HTTP retry backoff, OAuth retry backoff, eventual-consistency 429 backoff, activation-retry backoff and worker startup staggering.

The randomness counterpart of Clock: pinning the clock makes cadence virtual, injecting a SeededRandom as well makes it reproducible. See the cross-SDK contract in camunda/sdk-infra#50.

Extended by​

Methods​

next()​

next(): number;

A uniformly distributed value in [0, 1).

Returns​

number