worker top-level property

WorkerThreadsModule worker
final

Implementation

final worker = require('worker_threads') as WorkerThreadsModule;