Skip to content

Instantly share code, notes, and snippets.

@baudtack
Created June 20, 2019 18:32
Show Gist options
  • Save baudtack/dbeb053587882a810e47d50c6d632f3e to your computer and use it in GitHub Desktop.
Save baudtack/dbeb053587882a810e47d50c6d632f3e to your computer and use it in GitHub Desktop.
That's all for our `poke-noun` arm. But what about when the timer goes off? Behn will create a `gift` a similar construct to how we created an `effect`, only this time it will end up being dispatched back to us by Gall in the `++wake` arm. Gall looks for an arm named `++wake` when a timer goes off; it is defined this way in the vane's code. Gall will actually check for an arm that also contains the wire name, but this will be covered in a later document. So any app that wants to use a timer trigger needs to have an arm called `++wake`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment