notifyIntentCompleted static method

void notifyIntentCompleted(
  1. JIntent<JState> intent
)

Called by dispatchers when an intent finished without failing: reports notifyIntentCancelled if cancellation was requested, otherwise notifyIntentDispatched.

Implementation

static void notifyIntentCompleted(JIntent intent) {
  if (intent.isCancelled) {
    notifyIntentCancelled(intent);
  } else {
    notifyIntentDispatched(intent);
  }
}