How to implement an analogue of Sleep() function in Dyalog APL?
I have a CSV file, and for each line where I call a function, the function makes a network request, and because of their frequency, the server blocks me - I need to pause between each line. But how to implement this pause?
│BTCUSDT│ETHBTC │ETHUSDT │
│BTCUSDT│LTCBTC │LTCUSDT │
│BTCUSDT│BNBBTC │BNBUSDT │
│BTCUSDT│NEOBTC │NEOUSDT │
I tried googling, didn't help.
Next time, try APLcart instead of Google…
The answer is
⎕DL which takes a number of seconds as argument and sleeps for that time. See the documentation for details.