urbit/pkg/arvo/app/hark-chat-hook.hoon

22 lines
432 B
Plaintext
Raw Normal View History

2020-11-05 05:23:34 +03:00
:: hark-chat-hook: notifications for chat-store [landscape]
::
/+ default-agent
2020-11-05 05:23:34 +03:00
::
^- agent:gall
|_ =bowl:gall
+* this .
def ~(. (default-agent this %|) bowl)
++ on-init [~ this]
++ on-save !>(~)
2020-11-05 05:23:34 +03:00
++ on-load
|= =vase
`this
++ on-arvo on-arvo:def
++ on-agent on-agent:def
++ on-poke on-poke:def
++ on-peek on-peek:def
++ on-watch on-watch:def
2020-11-05 05:23:34 +03:00
++ on-leave on-leave:def
++ on-fail on-fail:def
--