Return whether taking numActions would not exceed this throttle's limit.

Synopsis

Declared in <bdlmt_throttle.h>

bool
requestPermission(int numActions);

Return Value

true if permission is granted, and false otherwise

Parameters

Name

Description

numActions

number of actions requested

Created with MrDocs