[#BloombergLP-bdlmt-Throttle-requestPermission-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/Throttle.adoc[Throttle]::requestPermission :relfileprefix: ../../../ :mrdocs: Return whether taking `numActions` at `now` would not exceed the limit. == Synopsis Declared in `<bdlmt_throttle.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool requestPermission( int numActions, xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& now); ---- == Return Value `true` if permission is granted, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *numActions* | number of actions requested | *now* | current time on this throttle's configured clock |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#