on master help sign in
gall-guide: subscriptions - add ::'s
commitf22b558378c919226bcc83a7bd87f58133c614be authorTinnus Napbus <admin@tinnus-napbus.xyz> dateMon 6 Dec 2021, 23:30 (5 years ago) parent92d625c
1 file changed+13
content/docs/userspace/gall-guide/8-subscriptions.md+13
content/docs/userspace/gall-guide/8-subscriptions.md+13
@@ -433,12 +433,15 @@ This is a very simple mark file for the `update` type.
433433|_ =bowl:gall
434434+* this .
435435 def ~(. (default-agent this %.n) bowl)
436+::
436437++ on-init
437438 ^- (quip card _this)
438439 `this
440+::
439441++ on-save
440442 ^- vase
441443 !>(state)
444+::
442445++ on-load
443446 |= old-state=vase
444447 ^- (quip card _this)
@@ -446,6 +449,7 @@ This is a very simple mark file for the `update` type.
446449 ?- -.old
447450 %0 `this(state old)
448451 ==
452+::
449453++ on-poke
450454 |= [=mark =vase]
451455 ^- (quip card _this)
@@ -505,6 +509,7 @@ This is a very simple mark file for the `update` type.
505509 ==
506510 ==
507511 --
512+::
508513++ on-watch
509514 |= =path
510515 ^- (quip card _this)
@@ -515,6 +520,7 @@ This is a very simple mark file for the `update` type.
515520 :~ [%give %fact ~ %todo-update !>(`update:todo`initial+tasks)]
516521 ==
517522 ==
523+::
518524++ on-leave on-leave:def
519525++ on-peek on-peek:def
520526++ on-agent on-agent:def
@@ -580,12 +586,15 @@ currently exists, getting the new subscriber up to date.
580586|_ =bowl:gall
581587+* this .
582588 def ~(. (default-agent this %.n) bowl)
589+::
583590++ on-init
584591 ^- (quip card _this)
585592 `this
593+::
586594++ on-save
587595 ^- vase
588596 !>(state)
597+::
589598++ on-load
590599 |= old-state=vase
591600 ^- (quip card _this)
@@ -593,6 +602,7 @@ currently exists, getting the new subscriber up to date.
593602 ?- -.old
594603 %0 `this(state old)
595604 ==
605+::
596606++ on-poke
597607 |= [=mark =vase]
598608 ^- (quip card _this)
@@ -611,9 +621,11 @@ currently exists, getting the new subscriber up to date.
611621 ==
612622 ==
613623 ==
624+::
614625++ on-watch on-watch:def
615626++ on-leave on-leave:def
616627++ on-peek on-peek:def
628+::
617629++ on-agent
618630 |= [=wire =sign:agent:gall]
619631 ^- (quip card _this)
@@ -639,6 +651,7 @@ currently exists, getting the new subscriber up to date.
639651 ==
640652 ==
641653 ==
654+::
642655++ on-arvo on-arvo:def
643656++ on-fail on-fail:def
644657--