12 lines
234 B
TypeScript
12 lines
234 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)
|
|
}
|
|
}
|