notifyIntentDispatched static method

void notifyIntentDispatched(
  1. JIntent<JState> intent
)

Called by dispatchers to notify that an intent was dispatched.

Implementation

static void notifyIntentDispatched(JIntent intent) {
  final callback = onIntentDispatched;
  if (callback == null && _delegates.isEmpty) return;
  _notify(
    'intent dispatched',
    (d) => d.onIntentDispatched(intent),
    callback == null ? null : () => callback(intent),
  );
}