WaitAction<St>.clear constructor

WaitAction<St>.clear([
  1. Object? flag
])

Clears (removes) the flag, with all its references. Removing the flag indicating some process finished running.

dispatch(WaitAction.add(this, flag: 123));
dispatch(WaitAction.add(this, flag: "xyz"));
dispatch(WaitAction.clear(this);

Implementation

WaitAction.clear([
  this.flag,
])  : operation = WaitOperation.clear,
      delay = null,
      ref = null;