tokenBucket

Configure a new standard token bucket instance.

Parameters

block

A DSL block which sets the parameters for the token bucket


Configure a new token bucket instance.

Parameters

factory

The token bucket factory to use for building a new instance

block

A DSL block which sets the parameters for the token bucket


The token bucket instance. Utilizing an existing token bucket will share call capacity between scopes.