mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-03-16 23:11:18 +00:00
14 lines
385 B
Plaintext
14 lines
385 B
Plaintext
import "@fluencelabs/aqua-lib/builtin.aqua"
|
|
|
|
service ParService("parservice-id"):
|
|
call: -> string
|
|
|
|
-- here we go to another node and not waiting for execution there
|
|
-- all `ParService.call()` will be executed instantly
|
|
func parFunc( node: string, c: Info -> () ):
|
|
y <- ParService.call()
|
|
par on node:
|
|
t <- Peer.identify()
|
|
c(t)
|
|
par x <- ParService.call()
|