@vslutov/of-type
v0.1.6
Published
Operator ofType for redux-observable, compatible with redux-batch-middleware
Downloads
3
Maintainers
Readme
@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
)