baetheus / dux

Tools for writing portable redux, flux, and ngrx code. Type safe and boilerplate reducing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature: cancellation

baetheus opened this issue · comments

  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.

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