Runs the function once a concurrency slot is available.
Declared in <folly/channels/MaxConcurrentRateLimiter.h>
virtual
void
executeWhenReady(
folly::Function<void(std::unique_ptr<Token>)> func,
Executor::KeepAlive<SequencedExecutor> executor) override;
| Name | Description |
|---|---|
| func | The function to run, receiving a token that releases the slot. |
| executor | The executor on which the function runs. |