rootSagaStarted method
void
rootSagaStarted()
override
Defines function type which is invoked when a root saga is starts
effectId
Unique ID assigned to this root saga execution
saga
The generator function that starts to run
args
The arguments passed to the generator function
name
The generator function name
Implementation
@override
void rootSagaStarted(int effectId, Function saga, List? args,
Map<Symbol, dynamic>? namedArgs, String? name) {
var ed = _EffectDescription(
effectId, 0, 'Root${name == null ? '[$name]' : ''}', null);
_effectsById[effectId] = ed;
_addChild(0, effectId);
_log();
}