Skip to content
#

kdb

Here are 174 public repositories matching this topic...

jonathonmcmurray
jonathonmcmurray commented Oct 11, 2018

Most HTTP clients implement timeout functionality for slow responding servers. In q, the -T cmd line arg or \T command can set a timeout for remotely executed commands, which we can use to timeout a local command by sending it to ourselves over handle 0 e.g.

q)\T 1
q)0(`.req.g;"http://httpbin.org/delay/10")
'stop
  [2]  /home/jmcmurray/miniconda3/q/packages/req/req.q:164: .req.se

Improve this page

Add a description, image, and links to the kdb topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the kdb topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.