Streaming Large Data Sets

Overview


If the dataset you are trying to retrieve is large, and is encoded in standard json format, you can instruct the $url function to stream the result and parse it as it is being streamed.

Implementation





let data = await $url({
    url:'https://server.com/data.json',
    stream:true
})