activeMutationsForKey static method

int activeMutationsForKey(
  1. String mutationKey
)

Returns the number of currently running mutations with the given mutationKey.

Reactive: Reading this inside a ZenObserver or computed() tracks mutationKey.

Implementation

static int activeMutationsForKey(String mutationKey) =>
    _counterForKey(mutationKey).value;