examples/archived/multi-service/air-scripts/add_stored_service.clj

11 lines
329 B
Clojure
Raw Normal View History

2021-03-18 20:31:42 +00:00
(xor
(seq
(call node ("script" "add") [script interval] id)
(call %init_peer_id% (returnService "run") [id])
)
(seq
(call relay ("op" "identity") [])
(call %init_peer_id% (returnService "run") ["XOR FAILED" %last_error%])
)
)