smartspawn/ts/smartipc.classes.pool.ts

12 lines
216 B
TypeScript
Raw Normal View History

2017-01-29 22:41:26 +00:00
import * as plugins from './smartipc.plugins'
export class Pool {
2017-03-04 10:40:32 +00:00
pool
constructor() {
this.pool = new plugins.threads.Pool()
}
run(workerPathArg: string) {
return this.pool.run(workerPathArg)
}
2017-01-29 22:41:26 +00:00
}