Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuintun/microtask
A pure JavaScript cross browser microtask
https://github.com/nuintun/microtask
microtask microtasks
Last synced: 4 days ago
JSON representation
A pure JavaScript cross browser microtask
- Host: GitHub
- URL: https://github.com/nuintun/microtask
- Owner: nuintun
- License: mit
- Created: 2017-12-04T02:51:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-20T03:40:06.000Z (over 2 years ago)
- Last Synced: 2023-04-05T13:38:03.872Z (over 1 year ago)
- Topics: microtask, microtasks
- Language: JavaScript
- Homepage: https://nuintun.github.io/microtask
- Size: 450 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# microtask
> A pure JavaScript cross browser microtask.
>
> [![Dependencies][david-image]][david-url]### Usage
```js
microtask(function() {
console.log('Hello, World!');
});microtask(function(message) {
console.log(message);
}, 'Hello, World!');
```### Examples
> [examples/index.html](https://nuintun.github.io/microtask/examples/index.html)
### Thanks
> [calvinmetcalf/immediate](https://github.com/calvinmetcalf/immediate)
[david-image]: http://img.shields.io/david/dev/nuintun/microtask.svg?style=flat-square
[david-url]: https://david-dm.org/nuintun/microtask?type=dev