BarrierScope

The BarrierScope defines the available scopes that can be assigned to a Barrier via a BarrierSettings

There are only two available scopes that a Barrier can impact:

A Barrier scoped to All will be checked for its state for every Dispatcher before dispatching events to it. A Barrier scoped to Dispatcher will only be checked for its state for the specific Dispatcher as identified by the given Dispatcher name.

Inheritors

Types

Link copied to clipboard
object All : BarrierScope

This BarrierScope will affect all Dispatcher implementations.

Link copied to clipboard
data class Dispatcher(val dispatcher: String) : BarrierScope

This BarrierScope will affect only the Dispatcher implementation identified by the provided dispatcher.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun asDataItem(): DataItem

Should return an instance of a DataItem that represents all required properties of the implementing class, such that it could be: