BatchingBarrierSettingsBuilder Class Reference
public class BatchingBarrierSettingsBuilder : BarrierSettingsBuilder
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.
Declaration
Swift
public func setBatchSize(_ batchSize: Int) -> SelfParameter Description batchSizeThe number of dispatches in a batch. Default value of 1 will be used if argument is negative or zero.
Return Value
The builder instance for method chaining.