0.1.6 • Published 5 years ago

@vslutov/of-type v0.1.6

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
5 years ago

@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
)