flyio-queue

1.0.5 • Public • Published

flyio-queue

request url interval some time

use

const fly = require('flyio-queue')
fly.get(url,{},{ interval: 1}).then((r) => {
  console.log('1.time', moment().format('HH:mm:ss'))
})
fly.post(url,{},{ interval: 1}).then((r) => {
  console.log('1.time', moment().format('HH:mm:ss'))
})

Dependents (0)

Package Sidebar

Install

npm i flyio-queue

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

5.52 kB

Total Files

6

Last publish

Collaborators

  • huangjinlin