Currently, event handlers are executed serially in the order that they are polled from the work queue. It could be useful to be able to process events concurrently, e.g. think of how a web server handles many requests at a time.
Objectives
1) Convert code to allow use of multiple worker threads.
2) Add constructor option to specify the number of worker threads.
From https://github.com/sparklicorn/bucket/issues/15
Multithreaded event handling
Currently, event handlers are executed serially in the order that they are polled from the work queue. It could be useful to be able to process events concurrently, e.g. think of how a web server handles many requests at a time.
Objectives
1) Convert code to allow use of multiple worker threads. 2) Add constructor option to specify the number of worker threads.