smartspawn/ts/smartipc.classes.pool.ts

12 lines
234 B
TypeScript
Raw Normal View History

2017-01-29 22:41:26 +00:00
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)
}
}