clearExceptionFor method

void clearExceptionFor(
  1. Object actionTypeOrList
)

Removes the given actionTypeOrList from the list of action types that failed.

Note that dispatching an action already removes that action type from the exceptions list. This removal happens as soon as the action is dispatched, not when it finishes.

actionTypeOrList can be a Type, or an Iterable of types. Any other type of object will return null and throw a StoreException after the async gap.

Note: This method uses the EXACT type in actionTypeOrList. Subtypes are not considered.

Implementation

void clearExceptionFor(Object actionTypeOrList) => _store.clearExceptionFor(actionTypeOrList);