1.0.4 • Published 1 year ago

waydelay v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

waydelay

A small library for asynchronous delay calls with JS.

Example usage with anonymous function:

waydelay(
    3000, // Measured in milliseconds (3000ms = 3s).
    function() {
        console.log('Hello world.');
    }()
);

Example usage with named function:

function yourFunction(yourArguments) {
    console.log(yourArguments);
}

waydelay(
    3000, // Measured in milliseconds (3000ms = 3s).
    yourFunction('Hello world.')
);

Copy this for easy use!

<script src="https://cdn.jsdelivr.net/gh/garyridgway/waydelay/waydelay.js"></script>
1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago