shrub/pkg/arvo/app/link-view.hoon

40 lines
706 B
Plaintext
Raw Normal View History

2020-08-20 02:26:21 +03:00
:: link-view: no longer in use
/+ default-agent, verb, dbug
~% %link-view-top ..is ~
2020-01-22 02:43:24 +03:00
|%
+$ versioned-state
2020-08-20 02:26:21 +03:00
$% [%0 ~]
[%1 ~]
[%2 ~]
==
::
2020-01-22 02:43:24 +03:00
+$ card card:agent:gall
--
::
2020-08-20 02:26:21 +03:00
=| [%2 ~]
2020-01-22 02:43:24 +03:00
=* state -
::
%+ verb |
%- agent:dbug
2020-01-22 02:43:24 +03:00
^- agent:gall
|_ =bowl:gall
2020-08-20 02:26:21 +03:00
+* this .
def ~(. (default-agent this %|) bowl)
::
++ on-init [~ this]
++ on-save !>(state)
++ on-load
|= old-vase=vase
^- (quip card _this)
:_ this(state [%2 ~])
[%pass /connect %arvo %e %disconnect [~ /'~link']]~
::
++ on-poke on-poke:def
++ on-watch on-watch:def
++ on-agent on-agent:def
++ on-arvo on-arvo:def
++ on-peek on-peek:def
++ on-leave on-leave:def
++ on-fail on-fail:def
2020-01-22 02:43:24 +03:00
--