0.1.6 • Published 5 years ago
@vslutov/of-type v0.1.6
@vslutov/of-type
Operator ofType for redux-observable, compatible with redux-batch-middleware
Install
npm install @vslutov/of-type
Code example
import { ofType } from '@vslutov/of-type'
const setProp = createAction('PROP/SET')
const propEpic = action$ => action$.pipe(
ofType(setProp, /* other actions */),
// do something usefull
)