urbit/pkg/arvo/sur/tapp.hoon

45 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-05-29 01:38:14 +03:00
|* [poke-data=mold out-peer-data=mold]
|%
::
:: Possible async calls
::
+$ card
2019-08-12 23:50:14 +03:00
$% [%scry =path]
[%wait wire @da]
[%rest wire @da]
2019-05-28 23:23:06 +03:00
[%poke wire dock poke-data]
2019-05-29 01:38:14 +03:00
[%peer wire dock path]
[%pull wire dock ~]
[%diff out-peer-data]
[%request wire request:http outbound-config:iris]
[%cancel-request wire ~]
[%connect wire binding:eyre term]
2019-06-26 04:41:08 +03:00
[%http-response =http-event:http]
[%rule wire %turf %put turf]
2019-08-07 01:42:37 +03:00
[%source wire whos=(set ship) src=source:jael]
2019-07-19 03:08:01 +03:00
[%sources wire ~]
2019-08-07 01:42:37 +03:00
[%new-event wire =ship =udiff:point:able:jael]
[%listen wire whos=(set ship) =source:jael]
==
::
:: Possible async responses
::
+$ sign
2019-08-12 23:50:14 +03:00
$% [%scry-result result=*]
[%wake error=(unit tang)]
[%coup =dock error=(unit tang)]
[%quit =dock =path]
[%reap =dock =path error=(unit tang)]
[%bound success=? =binding:eyre]
[%http-response response=client-response:iris]
2019-08-07 01:42:37 +03:00
[%source whos=(set ship) =source:jael]
==
::
:: Outstanding contracts
::
+$ contract
$% [%wait at=@da]
[%request ~]
==
--