diff --git a/src/main/kotlin/Controllers.kt b/src/main/kotlin/Controllers.kt index 47bba77..a239af3 100644 --- a/src/main/kotlin/Controllers.kt +++ b/src/main/kotlin/Controllers.kt @@ -75,9 +75,8 @@ interface TemporalController { /** * Sleeps for the specified duration with some variance. * - * This will sleep for the given duration plus or minus a random variance. - * The variance is divided in half to generate a random positive and negative - * value that is added to the duration. + * This will sleep for the given duration plus a random variance between 0 inclusive and [variance] exclusive. + * The variance is divided in half to generate a random positive value that is added to the duration. * * If the duration is negative or the variance is less than 1, this method * will return immediately without sleeping.