A builder used to configure the BatchingBarrier settings.
Set the batch size for dispatches. When this number of dispatches is reached, the batch will be released.
Set the scope where this barrier should be applied.