aqua/aqua-src/hack.aqua

18 lines
320 B
Plaintext
Raw Normal View History

2022-04-12 13:27:04 +00: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!