Load whether taking numActions at now would not exceed the limit.
Declared in <bdlmt_throttle.h>
int
requestPermissionIfValid(
bool* result,
int numActions,
bsls::TimeInterval const& now);
0 if the arguments are valid, and a non-zero value otherwise
| Name | Description |
|---|---|
| result | destination for whether permission is granted |
| numActions | number of actions requested |
| now | current time on this throttle's configured clock |