15.4.0 • Published 5 years ago

@the-/refresher v15.4.0

Weekly downloads
567
License
MIT
Repository
github
Last release
5 years ago

@the-/refresher

npm Version

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

function

class

License

This software is released under the MIT License.

Links

15.4.0

5 years ago

15.2.0

5 years ago

15.1.4

5 years ago

15.1.3

5 years ago

15.1.2

5 years ago

15.1.0

5 years ago

15.0.3

5 years ago

15.0.2

5 years ago