mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-04-01 05:41:14 +00:00
10 lines
294 B
Plaintext
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 |