Pattern of booleans used to to randomly fail API calls.
Mock database of Toods
delay
Helper function for creating promise that resolves after ms
milliseconds.
Number of milliseconds to delay resolving the promise.
API for deleting Todo's from the database
Returns the next "doFail" flag and moves the failIndex pointer to the next boolean in failPattern
API for loading the list of Todos in the database.
API for updating Todos in the database
Generated using TypeDoc
Mutuable pointer referencing a boolean in failPattern