1
0
mirror of https://github.com/fluencelabs/aqua.git synced 2025-03-31 03:01:08 +00:00

18 lines
320 B
Plaintext
Raw Normal View History

2022-04-12 16:27:04 +03:00
service Peer("peer"):
hodes: -> []string
timeout: i32, string -> string
func test_timeout() -> string:
on HOST_PEER_ID:
nodes <- Peer.hodes()
results: *string
for node <- nodes par:
on node:
results <<- node
timeout: *string
join results[999]
par join results[123]
<- timeout!