Added cancellation token
This commit is contained in:
parent
a00f5f6e9e
commit
12ad666ec9
@ -38,7 +38,7 @@ namespace FastRng.Double.Distributions
|
||||
if (this.Random == null)
|
||||
return double.NaN;
|
||||
|
||||
return await this.fitter.NextNumber(); // TODO: Add token!
|
||||
return await this.fitter.NextNumber(token);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user