docs: updates sequences comment
This commit is contained in:
parent
28a4590b86
commit
6d96cafe7c
1 changed files with 9 additions and 5 deletions
|
@ -1,10 +1,14 @@
|
||||||
/*
|
/*
|
||||||
define various sequences to play out in this file
|
Define various sequences to play out in this file.
|
||||||
for example, we can define an initialization sequence that
|
For example, we can define an initialization sequence that
|
||||||
plays out some series of notifications, and call it whenever we need it,
|
plays out some series of notifications, and call it whenever we need it,
|
||||||
or a sequence to change the screen color and play some audio queues for a crash
|
or a sequence to change the screen color and play some audio queues
|
||||||
these sequences should be self contained and not rely on any external state outside of
|
after a crash
|
||||||
that in sequenceStore so that they can be easily invoked from anywhere
|
|
||||||
|
These sequences should be self contained and not rely on any external state
|
||||||
|
so that they can be invoked from anywhere. In the event that you need some
|
||||||
|
persistent variable (eg. a variable that saves whether or not a sequence has
|
||||||
|
already been played or a counter variable), add an entry to and use sequenceStore
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Notifications } from '../Notifications/notifications'
|
import { Notifications } from '../Notifications/notifications'
|
||||||
|
|
Loading…
Reference in a new issue