Offer an optional param for all RPC requests that can specify a timeout.
If the timeout is hit and the RPC still hasn't produced any results, return prematurely (possibly with partial results) and a timeout variable set in the response. Direct analogue of golang's usage of contexts with deadlines and timeouts.
Default timeout should probably be 0 == no timeout.
Offer an optional param for all RPC requests that can specify a timeout.
If the timeout is hit and the RPC still hasn't produced any results, return prematurely (possibly with partial results) and a timeout variable set in the response. Direct analogue of golang's usage of contexts with deadlines and timeouts.
Default timeout should probably be 0 == no timeout.