aqua-playground/aqua/examples/topology.aqua

13 lines
376 B
Plaintext
Raw Permalink Normal View History

2021-04-28 20:16:27 +03:00
service Testo("testo"):
getString: string -> string
service LocalPrint("lp"):
print: string -> ()
func topologyTest(me: string, myRelay: string, friend: string, friendRelay: string) -> string:
on friend via friendRelay:
str2 <- Testo.getString("friends string via")
2021-04-29 11:56:02 +03:00
par LocalPrint.print("my string in par")
LocalPrint.print(str2)
2021-04-28 20:16:27 +03:00
<- "finish"