Return whether taking one action at now would not exceed the limit.
Synopsis
Declared in <bdlmt_throttle.h>
bool
requestPermission(bsls::TimeInterval const& now);
Return Value
true if permission is granted, and false otherwise
Parameters
Name |
Description |
now |
current time on this throttle's configured clock |
Created with MrDocs