UNPKG

algebraic-effects

Version:

Algebraic effects in react using generators

20 lines (15 loc) 626 B
# Algebraic Effects Manage side-effects in your javascript application using algebraic effects. ### Importing it ```js import { createEffect } from 'algebraic-effects'; /*core*/ import { sleep } from 'algebraic-effects/operations'; // global operations import State from 'algebraic-effects/State'; // State effect import Exception from 'algebraic-effects/Exception'; // Exception effect ``` ### Index * [Familiarize yourself with the lingo of the cool kids](./lingo.md) * [Have a look at the core modules](./core.md) * [Global operations](./operations.md) * [State effect](./State.md) * [Exception effect](./Exception.md)