Commit Graph

48 Commits

Author SHA1 Message Date
Steve Van Opstal
2901b0c3c4 caolan/async: add missing optional type to 'retry' (#9506)
* async: add function type to interval of 'retry'

* fix return type number
2016-06-03 00:26:29 +09:00
Finn Poppinga
d98b8d6cbf async.d.ts AsyncForEachOfIterator key type fix (#9469)
the key can be either a string (in case of objects) or a number (in case of arrays).
2016-06-02 23:20:58 +09:00
cedric lombardot
649cae3279 [Async] Detect signatures callback (#9116)
Fix signatures of detect callbacks to follow doc https://github.com/caolan/async#detect
2016-05-02 00:53:44 +09:00
cedric lombardot
8d4f60d532 [Async] Update filter signature (#9123)
Filter signature do not correspond to documentation https://github.com/caolan/async#filter
2016-05-02 00:53:22 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
jonathanfishbein1
441e0ac7ce Change return type of compe and seq functions to Function from void 2016-03-12 22:43:29 -05:00
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
Vincent de Lagabbe
a940132c96 key should not be an array 2015-10-17 11:11:43 +02:00
Vincent de Lagabbe
4442fe3853 Fix async.forEachFor signature
"key" should not be an array
2015-10-16 13:29:48 +02:00
Joe Herman
4862dcd46d async: Remove error requirement in series, parallel. 2015-10-13 12:28:51 -04:00
Joe Herman
48b2588355 async: Corrected filter and reject definitions. 2015-10-13 12:01:32 -04:00
Fredrik Høisæther Rasch
91989d35b8 Merge remote-tracking branch 'upstream/master' into master 2015-10-08 09:56:22 +02:00
vvakame
2ee4111bae fix async/asyncamd-tests.ts 2015-08-29 00:44:26 +09:00
Joe Herman
375b76186f async: Corrected and updated to 1.4.2 2015-08-23 22:02:44 -04:00
Arseniy Maximov
2d0a04f068 Add forEachOf, forEachOfSeries, forEachOfLimit definitions 2015-06-16 20:28:16 +03:00
Christopher Brown
5ebf25ddbf Fix async.waterfall signature (callback has variadic argument structure) 2015-06-10 13:12:36 -05:00
Jacob Danton
0524bff51f Delete tsconfig.json
Accidentally committed
2015-04-19 09:45:06 -07:00
Jacob Danton
1f3834cb93 Updating async times and timesSeries definitions 2015-04-19 09:42:48 -07:00
vvakame
95d860879f remove unused .tscparams 2015-03-15 23:36:05 +09:00
Vadim Ogievetsky
3552529f78 updated PR following review from @lukehoban and @chbrown 2015-02-03 21:16:00 -08:00
Vadim Ogievetsky
c3a688719e fixed typing for async.parallel and co 2015-01-28 11:15:55 -08:00
Christopher Brown
cc534e6119 Fix async.d.ts each* signatures
Add generic ErrorCallback type
Rename AsyncIterator -> AsyncResultIterator
Add AsyncIterator as resultless iterator type
Rename AsyncMultipleResultsCallback -> AsyncResultsCallback
Rename AsyncSingleResultCallback -> AsyncResultCallback
2014-11-10 22:00:13 -06:00
Thomas Holmes
1f730d3262 Added interface for priorityQueue. 2014-10-07 22:53:51 +01:00
Mohamed Hegazy
2aaa293cb1 Remove quotes from response files 2014-09-02 14:53:39 -07:00
Joe Herman
4b232a1214 async: Corrected APIs from forEach* to each* 2014-08-06 12:47:48 -04:00
Jozef Izso
750cb6d14e Updated async.queue definitions to v0.9.0 2014-07-07 23:39:32 +02:00
vvakame
e9be9177f6 remove not required .tscparams 2014-06-12 18:36:47 +09:00
Jozef Izso
f850214749 Added queue.push() method overload that accepts array of strongly typed objects. 2014-06-07 11:57:20 +02:00
Rogier Schouten
6cfdabc5b2 Bugfix in async.d.ts: error parameter in callbacks is listed as string but Error objects are put in. 2014-06-06 15:05:04 +02:00
Rogier Schouten
c054ffe0c5 Ensure async.d.ts compiles with --noImplicitAny 2014-06-02 10:01:24 +02:00
Boris Yankov
4085f85dc4 Merge pull request #1832 from sledorze/master
Take account of polymorphism into Async signatures - was really missing..
2014-03-24 01:35:43 +02:00
Dasa Paddock
ee22143b57 Add definitions for 'parallelLimit'.
Doc: https://github.com/caolan/async#parallellimittasks-limit-callback
2014-03-18 11:38:14 -07:00
Stéphane Le Dorze
ca93f092ed fix memo type 2014-03-12 23:52:30 +01:00
Stéphane Le Dorze
fd156f5731 fix polymorphism in Async type signature (how the hell were people using it before??) 2014-03-12 23:46:36 +01:00
Igor Oleinikov
ef86830809 async: fixed errors in async-tests.ts related to switch on TS 0.9.5 2013-12-06 15:19:46 +04:00
Nick Howes
a88b933815 queue.push callback is optional 2013-10-21 14:04:09 +01:00
vvakame
2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09:00
Andrew Gaspar
1eab71a53a Async with external module support. 2013-08-18 03:54:59 -05:00
Duncan Mak
9ccfc8fc6f Fix the test to make it compile. 2013-06-20 14:22:51 -04:00
Duncan Mak
4d7a581f41 Include definition for 'times' and 'timesSeries'. 2013-06-20 14:22:51 -04:00
Duncan Mak
7efa6bbca5 Differentiate between single-result and multiple-results callbacks. 2013-06-20 14:22:50 -04:00
Duncan Mak
57c7e3c001 A first pass at removing 'any's with generic Ts. 2013-06-20 14:22:46 -04:00
Diullei Gomes
ed2e7986fa fix async-tests errors 2013-02-01 18:26:32 -02:00
Boris Yankov
209d95071a Update reference paths 2013-01-17 20:03:30 +02:00
Boris Yankov
c98eebb137 Rename all definition files, remove versions 2013-01-17 17:17:27 +02:00
Boris Yankov
7c82efb17a Update reference paths 2012-11-19 01:28:08 +02:00
Boris Yankov
c91c45f9ae Move definitions and test in separate folders
This enables each definition to have a readme if necessary.
Also a .json metadata file to help with package managers.
And last, to have different versions of the definitions.
2012-11-18 22:28:44 +02:00