mirror of
https://github.com/fluencelabs/examples
synced 2024-12-12 22:55:32 +00:00
8 lines
288 B
Plaintext
8 lines
288 B
Plaintext
|
service UrlDownloader:
|
||
|
get_n_save(url: string, file_name: string) -> string
|
||
|
|
||
|
func download(target_url: string, fname: string, node:string, service_id:string) -> string:
|
||
|
on node:
|
||
|
UrlDownloader service_id
|
||
|
res <- UrlDownloader.get_n_save(target_url, fname)
|
||
|
<- res
|