3 ms·
Neater async failure handling in TypeScript
- lioeters 7y agoHere's the attempt() function that was described in the article: https://github.com/guardian/ts-failure/blob/master/src/index.ts https://github.com/guardian/ts-failure/blob/master/src/index...