shutdown method

void shutdown()

Call this method to shut down the store. It won't accept dispatches or change the state anymore.

Implementation

void shutdown() {
  _shutdown = true;
}