RegisterCallback typedef
RegisterCallback =
void Function(CancelableOperation cancellable, {bool cancelInFlight, EffectID? id})
Callback invoked to register a CancelableOperation with the store's
effect lifecycle manager.
If cancelInFlight is true, any existing operation under the same
id is cancelled before registering the new one.
Implementation
typedef RegisterCallback = void Function(
CancelableOperation cancellable, {
EffectID? id,
bool cancelInFlight,
});