WorkerOptions constructor

WorkerOptions({
  1. int clientVersion = protocolVersion,
  2. required String root,
  3. required SharedArrayBuffer synchronizationBuffer,
  4. required SharedArrayBuffer communicationBuffer,
})

Implementation

factory WorkerOptions({
  int clientVersion = protocolVersion,
  required String root,
  required SharedArrayBuffer synchronizationBuffer,
  required SharedArrayBuffer communicationBuffer,
}) {
  return WorkerOptions._(
    clientVersion: clientVersion,
    root: root,
    synchronizationBuffer: synchronizationBuffer,
    communicationBuffer: communicationBuffer,
  );
}