calllate
v1.0.3
Published
Defer a task to execute it asynchronously.
Downloads
21
Maintainers
Readme
calllate
Defer a task to execute it asynchronously.
Install
Local
npm:
$ npm install --save calllate
yarn:
$ yarn add calllate
Global
npm:
$ npm install -g calllate
yarn:
$ yarn add global calllate
Browser
<script src="calllate.js"></script>
Support
Support all major browsers and nodejs.
Usage
Using commonjs
const callLate = require('calllate');
callLate(() => {
// ...
});
Using es6 or typescript
import callLate from 'calllate';
callLate(() => {
// ...
});
Using global
<script>
callLate(() => {
// ...
});
</script>