Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-van committed Dec 15, 2020
1 parent d55a373 commit 48dde69
Show file tree
Hide file tree
Showing 72 changed files with 22,973 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
* Fixed map, filter and forEach behavior in case of exception. Pending tasks were not cancelled in case of exception and the
behavior in that case was not documented as opposed to other functions.

## 1.0.0
## 1.0.1

First version.
4 changes: 1 addition & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<head>
<script>
window.location = "./modern-async/1.0.0"
</script>
<meta http-equiv="refresh" content="0;URL=./modern-async/1.0.1">
</head>
</html>
356 changes: 356 additions & 0 deletions docs/modern-async/1.0.1/CancelledError.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,356 @@
<!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/[email protected]/dist/jquery.min.js"integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="crossorigin="anonymous" ></script>








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








<script src="https://cdn.jsdelivr.net/npm/[email protected]/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#asyncRoot">asyncRoot</a></li><li><a href="global.html#asyncWrap">asyncWrap</a></li><li><a href="global.html#delay">delay</a></li><li><a href="global.html#delayCancellable">delayCancellable</a></li><li><a href="global.html#every">every</a></li><li><a href="global.html#everyLimit">everyLimit</a></li><li><a href="global.html#everySeries">everySeries</a></li><li><a href="global.html#filter">filter</a></li><li><a href="global.html#filterLimit">filterLimit</a></li><li><a href="global.html#filterSeries">filterSeries</a></li><li><a href="global.html#find">find</a></li><li><a href="global.html#findIndex">findIndex</a></li><li><a href="global.html#findIndexLimit">findIndexLimit</a></li><li><a href="global.html#findIndexSeries">findIndexSeries</a></li><li><a href="global.html#findLimit">findLimit</a></li><li><a href="global.html#findSeries">findSeries</a></li><li><a href="global.html#forEach">forEach</a></li><li><a href="global.html#forEachLimit">forEachLimit</a></li><li><a href="global.html#forEachSeries">forEachSeries</a></li><li><a href="global.html#map">map</a></li><li><a href="global.html#mapLimit">mapLimit</a></li><li><a href="global.html#mapSeries">mapSeries</a></li><li><a href="global.html#reduce">reduce</a></li><li><a href="global.html#reduceRight">reduceRight</a></li><li><a href="global.html#sleep">sleep</a></li><li><a href="global.html#sleepCancellable">sleepCancellable</a></li><li><a href="global.html#sleepPrecise">sleepPrecise</a></li><li><a href="global.html#sleepPreciseCancellable">sleepPreciseCancellable</a></li><li><a href="global.html#some">some</a></li><li><a href="global.html#someLimit">someLimit</a></li><li><a href="global.html#someSeries">someSeries</a></li><li><a href="global.html#timeout">timeout</a></li><li><a href="global.html#timeoutPrecise">timeoutPrecise</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":"asyncRoot","link":"<a href=\"global.html#asyncRoot\">Global &rtrif; asyncRoot</a>"},{"title":"asyncWrap","link":"<a href=\"global.html#asyncWrap\">Global &rtrif; asyncWrap</a>"},{"title":"delay","link":"<a href=\"global.html#delay\">Global &rtrif; delay</a>"},{"title":"delayCancellable","link":"<a href=\"global.html#delayCancellable\">Global &rtrif; delayCancellable</a>"},{"title":"every","link":"<a href=\"global.html#every\">Global &rtrif; every</a>"},{"title":"everyLimit","link":"<a href=\"global.html#everyLimit\">Global &rtrif; everyLimit</a>"},{"title":"everySeries","link":"<a href=\"global.html#everySeries\">Global &rtrif; everySeries</a>"},{"title":"filter","link":"<a href=\"global.html#filter\">Global &rtrif; filter</a>"},{"title":"filterLimit","link":"<a href=\"global.html#filterLimit\">Global &rtrif; filterLimit</a>"},{"title":"filterSeries","link":"<a href=\"global.html#filterSeries\">Global &rtrif; filterSeries</a>"},{"title":"find","link":"<a href=\"global.html#find\">Global &rtrif; find</a>"},{"title":"findIndex","link":"<a href=\"global.html#findIndex\">Global &rtrif; findIndex</a>"},{"title":"findIndexLimit","link":"<a href=\"global.html#findIndexLimit\">Global &rtrif; findIndexLimit</a>"},{"title":"findIndexSeries","link":"<a href=\"global.html#findIndexSeries\">Global &rtrif; findIndexSeries</a>"},{"title":"findLimit","link":"<a href=\"global.html#findLimit\">Global &rtrif; findLimit</a>"},{"title":"findSeries","link":"<a href=\"global.html#findSeries\">Global &rtrif; findSeries</a>"},{"title":"forEach","link":"<a href=\"global.html#forEach\">Global &rtrif; forEach</a>"},{"title":"forEachLimit","link":"<a href=\"global.html#forEachLimit\">Global &rtrif; forEachLimit</a>"},{"title":"forEachSeries","link":"<a href=\"global.html#forEachSeries\">Global &rtrif; forEachSeries</a>"},{"title":"map","link":"<a href=\"global.html#map\">Global &rtrif; map</a>"},{"title":"mapLimit","link":"<a href=\"global.html#mapLimit\">Global &rtrif; mapLimit</a>"},{"title":"mapSeries","link":"<a href=\"global.html#mapSeries\">Global &rtrif; mapSeries</a>"},{"title":"reduce","link":"<a href=\"global.html#reduce\">Global &rtrif; reduce</a>"},{"title":"reduceRight","link":"<a href=\"global.html#reduceRight\">Global &rtrif; reduceRight</a>"},{"title":"sleep","link":"<a href=\"global.html#sleep\">Global &rtrif; sleep</a>"},{"title":"sleepCancellable","link":"<a href=\"global.html#sleepCancellable\">Global &rtrif; sleepCancellable</a>"},{"title":"sleepPrecise","link":"<a href=\"global.html#sleepPrecise\">Global &rtrif; sleepPrecise</a>"},{"title":"sleepPreciseCancellable","link":"<a href=\"global.html#sleepPreciseCancellable\">Global &rtrif; sleepPreciseCancellable</a>"},{"title":"some","link":"<a href=\"global.html#some\">Global &rtrif; some</a>"},{"title":"someLimit","link":"<a href=\"global.html#someLimit\">Global &rtrif; someLimit</a>"},{"title":"someSeries","link":"<a href=\"global.html#someSeries\">Global &rtrif; someSeries</a>"},{"title":"timeout","link":"<a href=\"global.html#timeout\">Global &rtrif; timeout</a>"},{"title":"timeoutPrecise","link":"<a href=\"global.html#timeoutPrecise\">Global &rtrif; timeoutPrecise</a>"}];
setupSearch(list)
</script>








</body>
</html>
Loading

0 comments on commit 48dde69

Please sign in to comment.