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