Skip to content

Commit

Permalink
Added 2.0.0 doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-van committed Dec 29, 2023
1 parent cd26f34 commit b1b83ae
Show file tree
Hide file tree
Showing 61 changed files with 18,306 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=./modern-async/1.1.3">
<meta http-equiv="refresh" content="0;URL=./modern-async/2.0.0">
</head>
</html>
313 changes: 313 additions & 0 deletions docs/modern-async/2.0.0/CancelledError.html
@@ -0,0 +1,313 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!-- Adding meta -->


<meta name="author" content="Nicolas Vanhoren" />

<meta name="description" content="A modern tooling library for asynchronous operations using async/await and promises" />



<!-- Adding external script-->


<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous" ></script>

<script src="https://cdn.jsdelivr.net/npm/vue@2.6.12/dist/vue.min.js" integrity="sha256-KSlsysqp7TXtFo/FHjb1T9b425x3hrvzjMWaJyKbpcI=" crossorigin="anonymous" ></script>

<script src="https://cdn.jsdelivr.net/npm/axios@0.21.0/dist/axios.min.js" integrity="sha256-OPn1YfcEh9W2pwF1iSS+yDk099tYj+plSrCS6Esa9NA=" crossorigin="anonymous" ></script>

<script src="../../inject-script.js" ></script>

<script src="https://www.googletagmanager.com/gtag/js?id=G-707LQFBQY9" ></script>

<script src="../../ga.js" ></script>

<script src="https://cdn.jsdelivr.net/npm/modern-async" ></script>



<!-- Adding external style-->


<!-- Adding scripts-->


<!-- Adding style-->


<!-- Adding overlay script-->


<!-- Adding overlay style-->



<title>CancelledError</title>

<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/third-party/ionicons.min.css">
<link type="text/css" rel="stylesheet" href="styles/third-party/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
<link type="text/css" rel="stylesheet" href="styles/clean-jsdoc-theme-base.css">
<link type="text/css" rel="stylesheet" href="styles/clean-jsdoc-theme-light.css">

<svg aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:none">
<defs>
<symbol id="copy-icon" viewbox="0 0 488.3 488.3">
<g>
<path d="M314.25,85.4h-227c-21.3,0-38.6,17.3-38.6,38.6v325.7c0,21.3,17.3,38.6,38.6,38.6h227c21.3,0,38.6-17.3,38.6-38.6V124 C352.75,102.7,335.45,85.4,314.25,85.4z M325.75,449.6c0,6.4-5.2,11.6-11.6,11.6h-227c-6.4,0-11.6-5.2-11.6-11.6V124 c0-6.4,5.2-11.6,11.6-11.6h227c6.4,0,11.6,5.2,11.6,11.6V449.6z"/>
<path d="M401.05,0h-227c-21.3,0-38.6,17.3-38.6,38.6c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5c0-6.4,5.2-11.6,11.6-11.6h227 c6.4,0,11.6,5.2,11.6,11.6v325.7c0,6.4-5.2,11.6-11.6,11.6c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5c21.3,0,38.6-17.3,38.6-38.6 V38.6C439.65,17.3,422.35,0,401.05,0z"/>
</g>
</symbol>
</defs>
</svg>

</head>
<body>
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger" class="navicon-button x">
<div class="navicon"></div>
</label>

<label for="nav-trigger" class="overlay"></label>

<nav>
<h2><a href="index.html"><div class="text">modern-async</div></a></h2><div class="search-box"><input type="text" placeholder="Search..." id="search-box" /><div class="search-item-container" id="search-item-container"><ul class="search-item-ul" id="search-item-ul"></ul></div></div><div class="sidebar-list-div"><ul><li><a href='https://github.com/nicolas-van/modern-async' class='' id='' target=''>Github</a></li></ul><h3>Classes</h3><ul><li><a href="CancelledError.html">CancelledError</a></li><li><a href="Deferred.html">Deferred</a></li><li><a href="Delayer.html">Delayer</a><ul class='methods'><li data-type='method'><a href="Delayer.html#checkDelay">checkDelay</a></li><li data-type='method'><a href="Delayer.html#reset">reset</a></li></ul></li><li><a href="Queue.html">Queue</a><ul class='methods'><li data-type='method'><a href="Queue.html#cancelAllPending">cancelAllPending</a></li><li data-type='method'><a href="Queue.html#exec">exec</a></li><li data-type='method'><a href="Queue.html#execCancellable">execCancellable</a></li></ul></li><li><a href="Scheduler.html">Scheduler</a><ul class='methods'><li data-type='method'><a href="Scheduler.html#start">start</a></li><li data-type='method'><a href="Scheduler.html#stop">stop</a></li></ul></li><li><a href="TimeoutError.html">TimeoutError</a></li></ul><h3><a href="global.html">Global</a></h3><ul><li><a href="global.html#asyncDelay">asyncDelay</a></li><li><a href="global.html#asyncDelayCancellable">asyncDelayCancellable</a></li><li><a href="global.html#asyncEvery">asyncEvery</a></li><li><a href="global.html#asyncFilter">asyncFilter</a></li><li><a href="global.html#asyncFind">asyncFind</a></li><li><a href="global.html#asyncFindIndex">asyncFindIndex</a></li><li><a href="global.html#asyncForEach">asyncForEach</a></li><li><a href="global.html#asyncGeneratorFilter">asyncGeneratorFilter</a></li><li><a href="global.html#asyncGeneratorMap">asyncGeneratorMap</a></li><li><a href="global.html#asyncIterableToArray">asyncIterableToArray</a></li><li><a href="global.html#asyncIterableWrap">asyncIterableWrap</a></li><li><a href="global.html#asyncMap">asyncMap</a></li><li><a href="global.html#asyncReduce">asyncReduce</a></li><li><a href="global.html#asyncReduceRight">asyncReduceRight</a></li><li><a href="global.html#asyncRoot">asyncRoot</a></li><li><a href="global.html#asyncSleep">asyncSleep</a></li><li><a href="global.html#asyncSleepCancellable">asyncSleepCancellable</a></li><li><a href="global.html#asyncSleepPrecise">asyncSleepPrecise</a></li><li><a href="global.html#asyncSleepPreciseCancellable">asyncSleepPreciseCancellable</a></li><li><a href="global.html#asyncSome">asyncSome</a></li><li><a href="global.html#asyncTimeout">asyncTimeout</a></li><li><a href="global.html#asyncTimeoutPrecise">asyncTimeoutPrecise</a></li><li><a href="global.html#asyncWrap">asyncWrap</a></li><li><a href="global.html#queueMicrotask">queueMicrotask</a></li><li><a href="global.html#reflectAsyncStatus">reflectAsyncStatus</a></li></ul></div>
</nav>

<div id="main">

<h1 id='page-title' class="page-title">CancelledError</h1>







<section>


<header>


<h2>

CancelledError

</h2>


<div class="class-description"><p>An error type which is used when a promise is cancelled.</p></div>
<hr/>


</header>


<article>
<div class="container-overview">




<h2>Constructor</h2>


<h4 class="name" id="CancelledError">
<a href="#CancelledError">#</a>
<span class="type-signature"></span>new CancelledError<span class="signature">(message)</span><span class="type-signature"></span>
</h4>





<div class="description">
<p>Constructs a new instance.</p>
</div>









<div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
<strong>Parameters:</strong>


<table class="params">
<thead>
<tr>

<th>Name</th>


<th>Type</th>





<th class="last">Description</th>
</tr>
</thead>

<tbody>


<tr>

<td class="name"><code>message</code></td>


<td class="type">


<span class="param-type">string</span>



</td>





<td class="description last"><p>The error message</p></td>
</tr>


</tbody>
</table>

</div>





<dl class="details">


























<div class="details-item-container">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="CancelledError.mjs.html">CancelledError.mjs</a>, <a href="CancelledError.mjs.html#line5">line 5</a>
</li></ul></dd>
</div>







</dl>

















</div>


















</article>

</section>




</div>

<footer id="footer">
modern-async is licensed under the terms of the MIT license
</footer>

<script src="scripts/third-party/prettify.js"></script>
<script src="scripts/third-party/lang-css.js"></script>
<script src="scripts/search.js"></script>
<script src="scripts/third-party/fuse.js"></script>
<script type="text/javascript" src="scripts/misc.js"></script>

<script>prettyPrint();</script>
<script src="scripts/linenumber.js"></script>
<script src="scripts/fix-code-block.js"></script>
<script>
var list = [{"title":"CancelledError","link":"<a href=\"CancelledError.html\">CancelledError</a>"},{"title":"Deferred","link":"<a href=\"Deferred.html\">Deferred</a>"},{"title":"Delayer","link":"<a href=\"Delayer.html\">Delayer</a>"},{"title":"Delayer#checkDelay","link":"<a href=\"Delayer.html#checkDelay\">Delayer &rtrif; checkDelay</a>"},{"title":"Delayer#reset","link":"<a href=\"Delayer.html#reset\">Delayer &rtrif; reset</a>"},{"title":"Queue","link":"<a href=\"Queue.html\">Queue</a>"},{"title":"Queue#cancelAllPending","link":"<a href=\"Queue.html#cancelAllPending\">Queue &rtrif; cancelAllPending</a>"},{"title":"Queue#exec","link":"<a href=\"Queue.html#exec\">Queue &rtrif; exec</a>"},{"title":"Queue#execCancellable","link":"<a href=\"Queue.html#execCancellable\">Queue &rtrif; execCancellable</a>"},{"title":"Scheduler","link":"<a href=\"Scheduler.html\">Scheduler</a>"},{"title":"Scheduler#start","link":"<a href=\"Scheduler.html#start\">Scheduler &rtrif; start</a>"},{"title":"Scheduler#stop","link":"<a href=\"Scheduler.html#stop\">Scheduler &rtrif; stop</a>"},{"title":"TimeoutError","link":"<a href=\"TimeoutError.html\">TimeoutError</a>"},{"title":"asyncDelay","link":"<a href=\"global.html#asyncDelay\">Global &rtrif; asyncDelay</a>"},{"title":"asyncDelayCancellable","link":"<a href=\"global.html#asyncDelayCancellable\">Global &rtrif; asyncDelayCancellable</a>"},{"title":"asyncEvery","link":"<a href=\"global.html#asyncEvery\">Global &rtrif; asyncEvery</a>"},{"title":"asyncFilter","link":"<a href=\"global.html#asyncFilter\">Global &rtrif; asyncFilter</a>"},{"title":"asyncFind","link":"<a href=\"global.html#asyncFind\">Global &rtrif; asyncFind</a>"},{"title":"asyncFindIndex","link":"<a href=\"global.html#asyncFindIndex\">Global &rtrif; asyncFindIndex</a>"},{"title":"asyncForEach","link":"<a href=\"global.html#asyncForEach\">Global &rtrif; asyncForEach</a>"},{"title":"asyncGeneratorFilter","link":"<a href=\"global.html#asyncGeneratorFilter\">Global &rtrif; asyncGeneratorFilter</a>"},{"title":"asyncGeneratorMap","link":"<a href=\"global.html#asyncGeneratorMap\">Global &rtrif; asyncGeneratorMap</a>"},{"title":"asyncIterableToArray","link":"<a href=\"global.html#asyncIterableToArray\">Global &rtrif; asyncIterableToArray</a>"},{"title":"asyncIterableWrap","link":"<a href=\"global.html#asyncIterableWrap\">Global &rtrif; asyncIterableWrap</a>"},{"title":"asyncMap","link":"<a href=\"global.html#asyncMap\">Global &rtrif; asyncMap</a>"},{"title":"asyncReduce","link":"<a href=\"global.html#asyncReduce\">Global &rtrif; asyncReduce</a>"},{"title":"asyncReduceRight","link":"<a href=\"global.html#asyncReduceRight\">Global &rtrif; asyncReduceRight</a>"},{"title":"asyncRoot","link":"<a href=\"global.html#asyncRoot\">Global &rtrif; asyncRoot</a>"},{"title":"asyncSleep","link":"<a href=\"global.html#asyncSleep\">Global &rtrif; asyncSleep</a>"},{"title":"asyncSleepCancellable","link":"<a href=\"global.html#asyncSleepCancellable\">Global &rtrif; asyncSleepCancellable</a>"},{"title":"asyncSleepPrecise","link":"<a href=\"global.html#asyncSleepPrecise\">Global &rtrif; asyncSleepPrecise</a>"},{"title":"asyncSleepPreciseCancellable","link":"<a href=\"global.html#asyncSleepPreciseCancellable\">Global &rtrif; asyncSleepPreciseCancellable</a>"},{"title":"asyncSome","link":"<a href=\"global.html#asyncSome\">Global &rtrif; asyncSome</a>"},{"title":"asyncTimeout","link":"<a href=\"global.html#asyncTimeout\">Global &rtrif; asyncTimeout</a>"},{"title":"asyncTimeoutPrecise","link":"<a href=\"global.html#asyncTimeoutPrecise\">Global &rtrif; asyncTimeoutPrecise</a>"},{"title":"asyncWrap","link":"<a href=\"global.html#asyncWrap\">Global &rtrif; asyncWrap</a>"},{"title":"queueMicrotask","link":"<a href=\"global.html#queueMicrotask\">Global &rtrif; queueMicrotask</a>"},{"title":"reflectAsyncStatus","link":"<a href=\"global.html#reflectAsyncStatus\">Global &rtrif; reflectAsyncStatus</a>"}];
setupSearch(list)
</script>








</body>
</html>

0 comments on commit b1b83ae

Please sign in to comment.