start static method

String? start({
  1. int workerThreads = -1,
})

Starts Jolt with a job system of workerThreads threads (below 0: cores minus one). Null when Jolt is ready, otherwise why it is not — most often that the app did not ask for the library to be built.

Implementation

static String? start({int workerThreads = -1}) {
  if (_started) return _reason;
  _started = true;
  return _reason = _start(workerThreads);
}