documentation, some basic testing

This commit is contained in:
2024-04-01 18:01:17 -05:00
parent a09a7d7337
commit 2e7f4833a7
11 changed files with 186 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
export async function promiseAllSafe<T>(tasks: Promise<T>[]) {
export async function promiseAllOptimistic<T>(tasks: Promise<T>[]) {
return await Promise.allSettled(tasks)
.then(res => {
const fulfilled: NonNullable<T>[] = [];