createOptions static method

WorkerOptions createOptions({
  1. String root = 'pkg_sqlite3_db/',
})

Implementation

static WorkerOptions createOptions({String root = 'pkg_sqlite3_db/'}) {
  return WorkerOptions(
    synchronizationBuffer: RequestResponseSynchronizer.createBuffer(),
    communicationBuffer: SharedArrayBuffer(MessageSerializer.totalSize),
    root: root,
  );
}