1.0.6 • Published 6 years ago

the-refresher v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

the-refresher

Build Status npm Version JS Standard

Refresher of the-db

Installation

$ npm install the-refresher --save

Usage

'use strict'

const {TheRefresher} = require('the-refresher')

async function tryExample () {
  const refresher = new TheRefresher(async () => {
    // Do something to refresh
    /* .. */
  }, {
    interval: 3000,
  })

  await refresher.start()
}

tryExample().catch((err) => console.error(err))

API Guide

License

This software is released under the MIT License.

Links

1.0.6

6 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago