Skip to content

Commit c99090a

Browse files
committed
2.0.1
1 parent 87bd099 commit c99090a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+18305
-1
lines changed
Lines changed: 313 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,313 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
7+
<!-- Adding meta -->
8+
9+
10+
<meta name="author" content="Nicolas Vanhoren" />
11+
12+
<meta name="description" content="A modern tooling library for asynchronous operations using async/await and promises" />
13+
14+
15+
16+
<!-- Adding external script-->
17+
18+
19+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous" ></script>
20+
21+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js" integrity="sha256-KSlsysqp7TXtFo/FHjb1T9b425x3hrvzjMWaJyKbpcI=" crossorigin="anonymous" ></script>
22+
23+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/axios.min.js" integrity="sha256-OPn1YfcEh9W2pwF1iSS+yDk099tYj+plSrCS6Esa9NA=" crossorigin="anonymous" ></script>
24+
25+
<script src="../../inject-script.js" ></script>
26+
27+
<script src="https://www.googletagmanager.com/gtag/js?id=G-707LQFBQY9" ></script>
28+
29+
<script src="../../ga.js" ></script>
30+
31+
<script src="https://cdn.jsdelivr.net/npm/modern-async" ></script>
32+
33+
34+
35+
<!-- Adding external style-->
36+
37+
38+
<!-- Adding scripts-->
39+
40+
41+
<!-- Adding style-->
42+
43+
44+
<!-- Adding overlay script-->
45+
46+
47+
<!-- Adding overlay style-->
48+
49+
50+
51+
<title>CancelledError</title>
52+
53+
<!--[if lt IE 9]>
54+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
55+
<![endif]-->
56+
<link type="text/css" rel="stylesheet" href="styles/third-party/ionicons.min.css">
57+
<link type="text/css" rel="stylesheet" href="styles/third-party/prettify-tomorrow.css">
58+
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
59+
<link type="text/css" rel="stylesheet" href="styles/clean-jsdoc-theme-base.css">
60+
<link type="text/css" rel="stylesheet" href="styles/clean-jsdoc-theme-light.css">
61+
62+
<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">
63+
<defs>
64+
<symbol id="copy-icon" viewbox="0 0 488.3 488.3">
65+
<g>
66+
<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"/>
67+
<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"/>
68+
</g>
69+
</symbol>
70+
</defs>
71+
</svg>
72+
73+
</head>
74+
<body>
75+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
76+
<label for="nav-trigger" class="navicon-button x">
77+
<div class="navicon"></div>
78+
</label>
79+
80+
<label for="nav-trigger" class="overlay"></label>
81+
82+
<nav>
83+
<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>
84+
</nav>
85+
86+
<div id="main">
87+
88+
<h1 id='page-title' class="page-title">CancelledError</h1>
89+
90+
91+
92+
93+
94+
95+
96+
<section>
97+
98+
99+
<header>
100+
101+
102+
<h2>
103+
104+
CancelledError
105+
106+
</h2>
107+
108+
109+
<div class="class-description"><p>An error type which is used when a promise is cancelled.</p></div>
110+
<hr/>
111+
112+
113+
</header>
114+
115+
116+
<article>
117+
<div class="container-overview">
118+
119+
120+
121+
122+
<h2>Constructor</h2>
123+
124+
125+
<h4 class="name" id="CancelledError">
126+
<a href="#CancelledError">#</a>
127+
<span class="type-signature"></span>new CancelledError<span class="signature">(message)</span><span class="type-signature"></span>
128+
</h4>
129+
130+
131+
132+
133+
134+
<div class="description">
135+
<p>Constructs a new instance.</p>
136+
</div>
137+
138+
139+
140+
141+
142+
143+
144+
145+
146+
<div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
147+
<strong>Parameters:</strong>
148+
149+
150+
<table class="params">
151+
<thead>
152+
<tr>
153+
154+
<th>Name</th>
155+
156+
157+
<th>Type</th>
158+
159+
160+
161+
162+
163+
<th class="last">Description</th>
164+
</tr>
165+
</thead>
166+
167+
<tbody>
168+
169+
170+
<tr>
171+
172+
<td class="name"><code>message</code></td>
173+
174+
175+
<td class="type">
176+
177+
178+
<span class="param-type">string</span>
179+
180+
181+
182+
</td>
183+
184+
185+
186+
187+
188+
<td class="description last"><p>The error message</p></td>
189+
</tr>
190+
191+
192+
</tbody>
193+
</table>
194+
195+
</div>
196+
197+
198+
199+
200+
201+
<dl class="details">
202+
203+
204+
205+
206+
207+
208+
209+
210+
211+
212+
213+
214+
215+
216+
217+
218+
219+
220+
221+
222+
223+
224+
225+
226+
227+
228+
<div class="details-item-container">
229+
<dt class="tag-source">Source:</dt>
230+
<dd class="tag-source"><ul class="dummy"><li>
231+
<a href="CancelledError.mjs.html">CancelledError.mjs</a>, <a href="CancelledError.mjs.html#line5">line 5</a>
232+
</li></ul></dd>
233+
</div>
234+
235+
236+
237+
238+
239+
240+
241+
</dl>
242+
243+
244+
245+
246+
247+
248+
249+
250+
251+
252+
253+
254+
255+
256+
257+
258+
259+
</div>
260+
261+
262+
263+
264+
265+
266+
267+
268+
269+
270+
271+
272+
273+
274+
275+
276+
277+
278+
</article>
279+
280+
</section>
281+
282+
283+
284+
285+
</div>
286+
287+
<footer id="footer">
288+
modern-async is licensed under the terms of the MIT license
289+
</footer>
290+
291+
<script src="scripts/third-party/prettify.js"></script>
292+
<script src="scripts/third-party/lang-css.js"></script>
293+
<script src="scripts/search.js"></script>
294+
<script src="scripts/third-party/fuse.js"></script>
295+
<script type="text/javascript" src="scripts/misc.js"></script>
296+
297+
<script>prettyPrint();</script>
298+
<script src="scripts/linenumber.js"></script>
299+
<script src="scripts/fix-code-block.js"></script>
300+
<script>
301+
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>"}];
302+
setupSearch(list)
303+
</script>
304+
305+
306+
307+
308+
309+
310+
311+
312+
</body>
313+
</html>

0 commit comments

Comments
 (0)