2021-08-10 16:13:27 +03:00
|
|
|
|%
|
|
|
|
+$ event
|
|
|
|
$% [%on-init ~]
|
|
|
|
[%on-load ~]
|
|
|
|
[%on-poke =mark]
|
|
|
|
[%on-watch =path]
|
|
|
|
[%on-leave =path]
|
|
|
|
[%on-agent =wire sign=term]
|
|
|
|
[%on-arvo =wire vane=term sign=term]
|
|
|
|
[%on-fail =term]
|
|
|
|
==
|
2024-03-25 21:39:46 +03:00
|
|
|
::
|
|
|
|
+$ event-plus
|
|
|
|
$: act=@ud
|
|
|
|
now=@da
|
|
|
|
src=@p
|
|
|
|
=cause
|
|
|
|
effects=(list effect)
|
|
|
|
==
|
|
|
|
::
|
|
|
|
+$ cause
|
|
|
|
$% [%on-init ~]
|
|
|
|
[%on-load ~]
|
2024-03-28 23:48:48 +03:00
|
|
|
[%on-poke =mark mug=@ux]
|
2024-03-25 21:39:46 +03:00
|
|
|
[%on-watch =path]
|
|
|
|
[%on-leave =path]
|
2024-03-28 23:48:48 +03:00
|
|
|
[%on-agent =wire =sign]
|
2024-03-25 21:39:46 +03:00
|
|
|
[%on-arvo =wire vane=term sign=term]
|
|
|
|
[%on-fail =term]
|
|
|
|
==
|
|
|
|
::
|
2024-03-28 23:48:48 +03:00
|
|
|
+$ sign
|
|
|
|
$% [%poke-ack ack=?]
|
|
|
|
[%watch-ack ack=?]
|
|
|
|
[%kick ~]
|
|
|
|
[%fact =mark mug=@ux]
|
|
|
|
==
|
|
|
|
::
|
2024-03-25 21:39:46 +03:00
|
|
|
+$ effect
|
|
|
|
$% [%poke =wire =gill:gall =mark mug=@ux]
|
|
|
|
[%watch =wire =gill:gall =path]
|
|
|
|
[%leave =wire =gill:gall]
|
|
|
|
[%fact paths=(list path) =mark mug=@ux]
|
|
|
|
[%kick paths=(list path)]
|
|
|
|
[%arvo =wire vane=term task=term]
|
|
|
|
==
|
|
|
|
--
|