Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkaplun committed May 27, 2018
1 parent 75321d7 commit ca49c66
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 66 deletions.
14 changes: 7 additions & 7 deletions README.md
Expand Up @@ -2,13 +2,7 @@

Driftless setInterval and setTimeout replacement for Node and the browser

![comparison](timer-comparison.gif)

## How it works

`driftless` repeatedly calls setTimeout in advance of the requested timeout for
greater accuracy. It does this recursively, until the timeout is reached within
a given threshold.
[![comparison](comparison.gif)](https://asciinema.org/a/183890)

## Usage

Expand All @@ -24,3 +18,9 @@ import {
} from 'driftless';
// Use like setTimeout and setInterval
```

## How it works

`driftless` repeatedly calls setTimeout in advance of the requested timeout for
greater accuracy. It does this recursively, until the timeout is reached within
a given threshold.
Binary file added comparison.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 0 additions & 59 deletions index.html

This file was deleted.

Binary file removed timer-comparison.gif
Binary file not shown.

0 comments on commit ca49c66

Please sign in to comment.