setScopes

fun setScopes(scopes: Set<BarrierScope>): T

Set the scopes where this barrier should be applied.

Return

The builder instance for method chaining.

Parameters

scopes

A set of BarrierScope values defining where the barrier applies.