Projects vslutov of-type Files
Enable build support by adding .onedev-buildspec.yml
.github Loading last commit info...
src
test
.editorconfig
.gitignore
.npmignore
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
package.json
rollup.config.js
README.md

@vslutov/of-type

Build Status npm version Greenkeeper badge Coverage Status JavaScript Style Guide

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
)
Please wait...
Page is in error, reload to recover