0.0.13 • Published 7 years ago

effects-as-data-http v0.0.13

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

Effects as Data Http

Everything you need for handling HTTP effects.

Usage

const { run } = require('effects-as-data')
const { handlers, actions } = require('effects-as-data-http')

function * witty () {
  let result = yield actions.httpGet('https://api.github.com/zen')
  return result
}

run(handlers, witty).then(({payload}) => {
  console.log(payload) // something witty
})
0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.7

7 years ago

0.0.5

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago