mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-16 20:57:12 +02:00
Split codebase (#455)
This commit is contained in:
5
apps/yaak-proxy/lib/fireAndForget.ts
Normal file
5
apps/yaak-proxy/lib/fireAndForget.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export function fireAndForget(promise: Promise<unknown>) {
|
||||
promise.catch((err: unknown) => {
|
||||
console.error("Unhandled async error:", err);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user