jtgi pfp
jtgi
@jtgi
fun js exercise: implement `p-limit`, a popular lib for controlling max concurrent promises. my impl in next fweet
1 reply
2 recasts
17 reactions

jtgi pfp
jtgi
@jtgi
no class or module even needed
1 reply
0 recast
3 reactions

jtgi pfp
jtgi
@jtgi
i wonder if you could get an inferred union type based on the return type of async functions enqueued. i did a static one here: plimit<T>
0 reply
0 recast
0 reaction