disableSembastCooperator function Null safety

void disableSembastCooperator()

Disable sembast cooperator.

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

Implementation

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