These are examples meant to run in a terminal.
All examples have main.js, which contains the app, index.js which executes it, and main.test.js that tests it.
Most applications should follow the structure of separate files for the app and execution code, since it makes testing a lot easier.
Basic file reading ability, and how it should work with effects. Demonstrates working with deferred messages.
One second interval incrementor using effects. Demonstrates the delay effect.
One second interval incrementor using a subscription. Demonstrates working with subscriptions.
Hit a demo todo list api using effects. Demonstrates batching effects, and out of order messages.
yarn
yarn start ./{file-reader,timer-with-effects,timer-with-subscription,xhr-request}