This package has been deprecated

Author message:

move to @the-/refresher ( https://github.com/the-labo/the/tree/master/packages/refresher#readme )

the-refresher

1.0.6 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i the-refresher

Weekly Downloads

6

Version

1.0.6

License

MIT

Unpacked Size

47 kB

Total Files

34

Last publish

Collaborators

  • okunishinishi