Christoph Fricke
banner
christoph-fricke.de
Christoph Fricke
@christoph-fricke.de
Consultant @holisticon.de | Web Enthusiast
I recently discovered `AbortSignal.timeout(3000)`. When combined with the fetch API, it is such a nice method for implementing request timeouts compared to racing two Promises. Easier to write and to understand.
developer.mozilla.org/en-US/docs/W...
AbortSignal: timeout() static method - Web APIs | MDN
The AbortSignal.timeout() static method returns an AbortSignal that will automatically abort after a specified time.
developer.mozilla.org
November 30, 2024 at 1:37 PM
Recently, my npm package "openapi-msw" passed 10,000 weekly downloads. As this is my first package that has gained some traction, this is a big milestone for me. 🥂🍾
www.npmjs.com/package/open...
openapi-msw
Tiny, type-safe wrapper around MSW for type inference from OpenAPI schemas.. Latest version: 0.7.1, last published: 2 months ago. Start using openapi-msw in your project by running `npm i openapi-msw`...
www.npmjs.com
November 24, 2024 at 4:23 PM