src/index.js
function createPipeReducer (container) {
  return (state, action = {data: {}}) => {
    const pipes = container[$pipes].entries()
    reduce()
    return state

    /**
     * Loops over each pipe function
     * providing state and action values
     * given to use from redux.
     *
     * @private
     */

    function reduce () {
      const step = pipes.next()
      const done = step.done
      const pipe = step.value ? step.value[1] : null
      if (done) return
      else if (false === pipe(state, action)) return
      else return reduce()
    }
  }
}
function createPipeReducer (container) {
  return (state, action = {data: {}}) => {
    const pipes = container[$pipes].entries()
    reduce()
    return state

    /**
     * Loops over each pipe function
     * providing state and action values
     * given to use from redux.
     *
     * @private
     */

    function reduce () {
      const step = pipes.next()
      const done = step.done
      const pipe = step.value ? step.value[1] : null
      if (done) return
      else if (false === pipe(state, action)) return
      else return reduce()
    }
  }
}
function createPipeReducer ( container ) { return ( state , action = { data : { } } ) => { const pipes = container [ $pipes ] . entries ( ) reduce ( ) return state /**
     * Loops over each pipe function
     * providing state and action values
     * given to use from redux.
     *
     * @private
     */ function reduce ( ) { const step = pipes . next ( ) const done = step . done const pipe = step . value ? step . value [ 1 ] : null if ( done ) return else if ( false === pipe ( state , action ) ) return else return reduce ( ) } } }
Creates a pipe reducer for a Container
instance.

@private
@param {Container} container
@return {Function}
Creates a pipe reducer for a Container instance .