ot

obj-timeout

Object wrapper for setTimout

Showing:

Popularity

Downloads/wk

0

Maintenance

No Maintenance Data Available

Package

Dependencies

0

License

Apache-2.0

Type Definitions

Tree-Shakeable

No?

Categories

Readme

obj-timeout

Object wrapper for setTimeout function

Why

It can be very useful if you're writing web applications using React.js.

let objTimeout = require('obj-timeout');

let App = React.createClass({
    waiter: null,
    componentDidMount: function() {
        this.waiter = new objTimeout(() => {
            console.log('waited')
        }, 2000);
    },
    componentWillUnmount: function() {
        this.waiter.destroy()
    },
    ...
});

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial