urbit/pkg/arvo/imp/ph/breach-hi.hoon
2019-11-09 19:09:02 -08:00

19 lines
515 B
Plaintext

/- spider
/+ *ph-io
=, thread=thread:spider
^- imp:spider
|= [=bowl:mall vase]
=/ m (thread ,vase)
;< ~ bind:m start-azimuth
;< ~ bind:m (spawn ~bud)
;< ~ bind:m (spawn ~dev)
;< ~ bind:m (real-ship ~bud)
;< ~ bind:m (real-ship ~dev)
;< ~ bind:m (send-hi ~bud ~dev)
;< ~ bind:m (breach-and-hear ~dev ~bud)
;< ~ bind:m (send-hi-not-responding ~bud ~dev)
;< ~ bind:m (real-ship ~dev)
;< ~ bind:m (wait-for-output ~bud "hi ~dev successful")
;< ~ bind:m end-azimuth
(pure:m vase)