Configuration options for the dataUnit
.
Configuration options for the errorUnit
.
Configuration options for the pendingUnit
.
Configuration options for the queryUnit
.
Common configuration options for the AsyncSystem's member Units.
An option if not set to false
will make the AsyncSystem
dispatch true
or false
to the pendingUnit
, true
whenever the queryUnit
emits a value, and false
whenever the dataUnitUnit
or errorUnit
emit a value.
An option if set to true
will make the AsyncSystem trigger dataUnit.clearValue()
,
whenever the errorUnit
emits a value.
Note: It only works if clearDataOnQuery is not set to true
.
As only one of them can work at a time.
An option if set to true
will make the AsyncSystem trigger dataUnit.clearValue()
,
whenever the queryUnit
emits a value.
Note: If set to true
, it'll turn off clearDataOnError.
As only one of them can work at a time.
An option if not set to false
will make the AsyncSystem trigger errorUnit.clearValue()
,
whenever the dataUnit
emits a value.
Note: It only works if clearErrorOnQuery is not set to true
.
As only one of them can work at a time.
An option if set to true
will make the AsyncSystem trigger errorUnit.clearValue()
,
whenever the queryUnit
emits a value.
Note: If set to true
, it'll turn off clearErrorOnData.
As only one of them can work at a time.
An option if set to true
will make the AsyncSystem trigger queryUnit.clearValue()
,
whenever the dataUnit
emits a value.
An option if set to true
will make the AsyncSystem trigger queryUnit.clearValue()
,
whenever the errorUnit
emits a value.
An option if set to true
will make the AsyncSystem
freeze the queryUnit
, whenever the pendingUnit
emits true
, and
unfreeze the queryUnit
, whenever the pendingUnit
emits false
.
A flag to control the replay behaviour of the AsyncSystem.
It decides whether the value should be replayed when you subscribe to the default Observable.
Shared global config options for AsyncSystems.
It overrides options defined in other Unit specific GlobalConfig, like GlobalConfig.UNITS or GlobalConfig.GENERIC_UNIT, etc.