In Julia, if a function returns a continuous stream of data, is it possible to 'take' the head of the stream before the stream has terminated? I am used to Clojure which has many mechanisms to do exactly this? I assume this is due to the inherent laziness of Clojure.
I made a previous post regarding a situation in which I was attempting to use 'HTTPClient' for a GET to a service that returns a continuous reply of json objects. I thought the following might work, but the fetch(r ) still blocks: rr = get(url, RequestOptions(blocking=false, ...)) r = fetch(r )) readytes(r) Thanks.
