mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-25 07:52:59 +03:00
99fb6bb4e8
Give each agent a nonce so that when you delete an agent, any outstanding responses don't go to a later app of the same name.
18 lines
267 B
Plaintext
18 lines
267 B
Plaintext
:: Drum: destroy app
|
|
::
|
|
:::: /hoon/fade/hood/gen
|
|
::
|
|
/? 310
|
|
::
|
|
::::
|
|
::
|
|
:- %say
|
|
|= $: [now=@da eny=@uvJ bec=beak]
|
|
[arg=[@ $@(~ [@ ~])] ~]
|
|
==
|
|
:- %drum-fade
|
|
?> ((sane %tas) -.arg)
|
|
?@ +.arg [q.bec -.arg]
|
|
?> ((sane %tas) +<.arg)
|
|
[-.arg +<.arg]
|