Relative Content

Tag Archive for javascriptnode.jspromise

how to collect returned results of promises

as shown in the below posted code, for the array geoTIFFsFileNames it contains five files’ names. for the number of items in the latter array, i want to invoke the webservice
WSGeoTIFFAsBlobStreamer, and for each invokation to it there are some data to be returned correspond to the file name.
i want to have the executions or the invokations to the webservice to be done async, so i created the array promises to collect the promises returned from .stream