disableSembastCooperator function

  1. @visibleForTesting
void disableSembastCooperator()

Disable sembast cooperator.

Disable sembast cooperator that prevents heavy algorithms blocking the UI thread. Should be called before any other call.

Implementation

@visibleForTesting
void disableSembastCooperator() {
  globalCooperator?.stop();
  cooperatorDisabled = true;
}