12 lines
216 B
TypeScript
12 lines
216 B
TypeScript
import * as plugins from './smartipc.plugins'
|
|
|
|
export class Pool {
|
|
pool
|
|
constructor() {
|
|
this.pool = new plugins.threads.Pool()
|
|
}
|
|
run(workerPathArg: string) {
|
|
return this.pool.run(workerPathArg)
|
|
}
|
|
}
|