mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 22:50:18 +00:00
18 lines
320 B
Plaintext
18 lines
320 B
Plaintext
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! |