3 ms·
Correct. cloud.call, etc. are all higher-level functions. PiCloud does treat cloud.call(func) dispatches as completely functional. The function evaluated can
by usaar333 17y ago
Correct. cloud.call, etc. are all higher-level functions.
PiCloud does treat cloud.call(func) dispatches as completely functional. The function evaluated cannot have side-effects in terms of the program space; within the program, you access its output via cloud.result().
(Note: You can within the func have external side-effects - e.g. opening a connection to a database and modifying entries).
- nico_h 17y ago- edit : nevermind, found the answer in the 'pitfalls' doc : yes you can create picloud call from within picloud, but they of course go against your maximum count of parallel calls - Hi I have read (quickly) your webscraper example and i still have one question : Is it possible to launch piclouds jobs from within a picloud job ? i.e. from picloud download some list of url as csvs and then start webcrapers then have the original function return the results of these scrapers ? Thanks for your answer.