support async predict functions (#1350)
this is the first step towards supporting continuous batching and concurrent predictions. eventually, you will be configure it so your predict function will be called concurrently
* bare minimum to support async predict
* add async tests
Signed-off-by: technillogue <technillogue@gmail.com>