Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WithWorkerOptions

Custom options for 'withWorker()' function.

Hierarchy

  • WithWorkerOptions

Index

Properties

onMessage?: null | ((message: any) => any)

Is invoked if a message has been received from worker.

param message

The received message.

workerData?: any

Worker data to submit.

Generated using TypeDoc