aqua-playground/aqua/examples/streamArgs.aqua
2021-07-23 11:57:44 +03:00

10 lines
294 B
Plaintext

service TestService("test-service"):
get_records(key: string) -> []string
func append_records(peer: string, srum: *[]string):
srum <- TestService.get_records(peer)
func retrieve_records(peer: string) -> [][]string:
records: *[]string
append_records(peer, records)
<- records