baetheus / dux

Tools for writing portable redux, flux, and ngrx code. Type safe and boilerplate reducing.
6 stars 2 forks source link

feature: cancellation #2

Open baetheus opened 5 years ago

baetheus commented 5 years ago
  1. Refactor action creators to be standalone (namespace: string) => { createAsync, createAction }.
  2. Add cancelled action to async action factory PENDING | CANCEL | SUCCESS | FAILURE.
  3. Extend asyncExhaustMap and asyncSwitchMap to emit cancels.
  4. Update AsyncData ADT with reference count abilities.
baetheus commented 5 years ago

Item 1 is done Item 4 is out of the question, since DatumEither is a final api