concrete NameToSignalId defining output signal-ids of the resulting Signals
object
concrete Configuration for the given SignalsBuild
concrete NameToEffectId defining effect-ids of the resulting Signals
object
This type defines a function taking some config-object as argument and returning a Signals object, hence the type being used as constructor argument for SignalsFactory.
It creates input- and output-ids, as well as effect-ids.
It is the reactive counterpart of a class/class-constructor.
However, the setup method of the returned Signals
only adds signals to the store
for the output-ids. For the input-ids, corresponding signals must be setup somewhere else (e.g. via store.connect
).
If you have a scenario, where setup needs a SignalId that is NOT created by SignalsBuild, then you can pass it via CONFIG
.
The same holds true for effects (no effects for the generated effect-ids will be added to the store).
(see useExistingEffect on how to delegate from a generated effect-id to an existing effect)
Generated using TypeDoc
concrete NameToSignalId defining input signal-ids of the resulting
Signals
object