Open
Description
Right now, server mode can only handle one client at a time - the first client must hang up before the server can begin processing the second request.
To fix this, for each request, we should run each response in a different thread drawn from a thread pool.
Initially I planned on using RcppParallel, but it's README explicitly says not to access any R APIs from its workers.
My alternative plan is modify the server callback wrapper code to call through mcparallel
- this will preclude (theoretical anyway) windows support, but is the next step towards fully implementing the grpc api.