[next] Concurrency (#2136)

* feat: added concurrency options

* fix: Default CONCURRENCY to 2 for development
This commit is contained in:
Wyatt Johnson
2018-12-20 17:01:10 +00:00
committed by GitHub
parent 1fc49f8e50
commit 326a10dc5d
9 changed files with 217 additions and 66 deletions
@@ -193,6 +193,13 @@ export class Mailer {
},
});
}
/**
* process maps the interface to the task process function.
*/
public process() {
return this.task.process();
}
}
export const createMailerTask = (