on master help sign in
added on-init
fadaf4fDavid Kerschner
tutorials/hoon/gall.md+5−1
@@ -37,6 +37,10 @@ Gall applications can have a number of arms that get called depending on the inf
37This arm is called once when the agent is started. It has no input and
37This arm is called once when the agent is started. It has no input and
38lets you perform any initial IO.
38lets you perform any initial IO.
39
39
40+### +on-init
41+
42+This arm is called when the app is initially started.
43+
40### +on-save
44### +on-save
41
45
42This arm is called immediately before the agent is upgraded. It
46This arm is called immediately before the agent is upgraded. It
@@ -46,7 +50,7 @@ of the agent. Unlike most handlers, this cannot produce effects.
46### +on-load
50### +on-load
47
51
48This arm is called immediately after the agent is upgraded. It receives
52This arm is called immediately after the agent is upgraded. It receives
49−a `vase` of the state of the previously-running version of the agent,
53+a `vase` of the state of the previously running version of the agent,
50which allows it to cleanly upgrade from the old agent.
54which allows it to cleanly upgrade from the old agent.
51
55
52### +on-poke
56### +on-poke