on master help sign in
gall-guide: subscriptions - add ::'s
f22b558Tinnus Napbus
content/docs/userspace/gall-guide/8-subscriptions.md+13
@@ -433,12 +433,15 @@ This is a very simple mark file for the `update` type.
433|_ =bowl:gall
433|_ =bowl:gall
434+* this .
434+* this .
435 def ~(. (default-agent this %.n) bowl)
435 def ~(. (default-agent this %.n) bowl)
436+::
436++ on-init
437++ on-init
437 ^- (quip card _this)
438 ^- (quip card _this)
438 `this
439 `this
440+::
439++ on-save
441++ on-save
440 ^- vase
442 ^- vase
441 !>(state)
443 !>(state)
444+::
442++ on-load
445++ on-load
443 |= old-state=vase
446 |= old-state=vase
444 ^- (quip card _this)
447 ^- (quip card _this)
@@ -446,6 +449,7 @@ This is a very simple mark file for the `update` type.
446 ?- -.old
449 ?- -.old
447 %0 `this(state old)
450 %0 `this(state old)
448 ==
451 ==
452+::
449++ on-poke
453++ on-poke
450 |= [=mark =vase]
454 |= [=mark =vase]
451 ^- (quip card _this)
455 ^- (quip card _this)
@@ -505,6 +509,7 @@ This is a very simple mark file for the `update` type.
505 ==
509 ==
506 ==
510 ==
507 --
511 --
512+::
508++ on-watch
513++ on-watch
509 |= =path
514 |= =path
510 ^- (quip card _this)
515 ^- (quip card _this)
@@ -515,6 +520,7 @@ This is a very simple mark file for the `update` type.
515 :~ [%give %fact ~ %todo-update !>(`update:todo`initial+tasks)]
520 :~ [%give %fact ~ %todo-update !>(`update:todo`initial+tasks)]
516 ==
521 ==
517 ==
522 ==
523+::
518++ on-leave on-leave:def
524++ on-leave on-leave:def
519++ on-peek on-peek:def
525++ on-peek on-peek:def
520++ on-agent on-agent:def
526++ on-agent on-agent:def
@@ -580,12 +586,15 @@ currently exists, getting the new subscriber up to date.
580|_ =bowl:gall
586|_ =bowl:gall
581+* this .
587+* this .
582 def ~(. (default-agent this %.n) bowl)
588 def ~(. (default-agent this %.n) bowl)
589+::
583++ on-init
590++ on-init
584 ^- (quip card _this)
591 ^- (quip card _this)
585 `this
592 `this
593+::
586++ on-save
594++ on-save
587 ^- vase
595 ^- vase
588 !>(state)
596 !>(state)
597+::
589++ on-load
598++ on-load
590 |= old-state=vase
599 |= old-state=vase
591 ^- (quip card _this)
600 ^- (quip card _this)
@@ -593,6 +602,7 @@ currently exists, getting the new subscriber up to date.
593 ?- -.old
602 ?- -.old
594 %0 `this(state old)
603 %0 `this(state old)
595 ==
604 ==
605+::
596++ on-poke
606++ on-poke
597 |= [=mark =vase]
607 |= [=mark =vase]
598 ^- (quip card _this)
608 ^- (quip card _this)
@@ -611,9 +621,11 @@ currently exists, getting the new subscriber up to date.
611 ==
621 ==
612 ==
622 ==
613 ==
623 ==
624+::
614++ on-watch on-watch:def
625++ on-watch on-watch:def
615++ on-leave on-leave:def
626++ on-leave on-leave:def
616++ on-peek on-peek:def
627++ on-peek on-peek:def
628+::
617++ on-agent
629++ on-agent
618 |= [=wire =sign:agent:gall]
630 |= [=wire =sign:agent:gall]
619 ^- (quip card _this)
631 ^- (quip card _this)
@@ -639,6 +651,7 @@ currently exists, getting the new subscriber up to date.
639 ==
651 ==
640 ==
652 ==
641 ==
653 ==
654+::
642++ on-arvo on-arvo:def
655++ on-arvo on-arvo:def
643++ on-fail on-fail:def
656++ on-fail on-fail:def
644--
657--