rkdb icon indicating copy to clipboard operation
rkdb copied to clipboard

Async calls from R

Open brian-loo opened this issue 5 years ago • 1 comments

I see some mention of async calls. Is it possible to query data asynchronously through R?

Thanks!

brian-loo avatar Jun 21 '19 14:06 brian-loo

rkdb is a wrapper around k.h. So you can use the negative handle to fire and forget commands to kdb.

handle = open_connection(port = 8888) execute(-handle,'b:1 2 3') # this is possible

But if you want to 'wait' for the kdb process to come back to you this has not been implemented yet. Implementation should be fairly easy. Perhaps we can label this as enhancement.

kimtang avatar Sep 04 '19 06:09 kimtang