rootSagaStarted method

void rootSagaStarted(
  1. int effectId,
  2. Function saga,
  3. List? args,
  4. Map<Symbol, dynamic>? namedArgs,
  5. String? name,
)

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

void rootSagaStarted(int effectId, Function saga, List<dynamic>? args,
    Map<Symbol, dynamic>? namedArgs, String? name) {}