aqua/aqua-src/ret.aqua

11 lines
180 B
Plaintext
Raw Permalink Normal View History

module Ret declares *
2021-08-21 08:10:38 +00:00
export getTwoResults
2021-08-21 08:10:38 +00:00
service Peer("peer"):
timestamp_sec: -> u64
func getTwoResults() -> u64:
on "other node":
res <- Peer.timestamp_sec()
<- res