Something went wrong. Try again.
Personal iOS fork of Witchsky (itself a fork of Bluesky social-app).
Something went wrong. Try again.
123456export async function wait<T>(delay: number, fn: T): Promise<Awaited<T>> { return await Promise.all([fn, new Promise(y => setTimeout(y, delay))]).then( arr => arr[0], )}