Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
|
geeg's comments
login
geeg
on Dec 31, 2018
|
parent
|
context
|
next
[–]
| on:
Just another library with the sole purpose of wait...
The output will be an array. Collection of success and failures. in the same order.
https://github.com/rpgeeganage/alls/blob/master/test/alls.ts...
https://github.com/rpgeeganage/alls/blob/master/test/alls.ts...
https://github.com/rpgeeganage/alls/blob/master/test/alls.ts...
geeg
on Dec 31, 2018
|
parent
|
context
|
prev
|
next
[–]
| on:
Just another library with the sole purpose of wait...
In case of error, I will return stats as 'rejected' and reason as the error thrown by the promise. Sample:
https://github.com/rpgeeganage/alls#final-output
geeg
on Dec 19, 2018
|
parent
|
context
|
prev
|
next
[–]
| on:
Async/Await on Array method – JavaScript
I usually don't use any 3rd party library as a replacement for native promises. The main advantage of the package is, it does not depend on any 3rd party library (except for testing and TypeScript related stuff)
geeg
on Dec 17, 2018
|
parent
|
context
|
prev
[–]
| on:
Async/Await for JavaScript Arrays
Code snippet:
https://repl.it/@rpgeeganage/async-code-with-arrays
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: