APP-2977: Handle AppView polling errors (#11590)

This commit is contained in:
Samuel Newman
2026-09-03 01:00:56 +03:00
committed by GitHub
parent af3fbcc940
commit 58ca227922
16 changed files with 108 additions and 38 deletions
+4 -1
View File
@@ -141,7 +141,10 @@ function createListItem({
async function whenAppViewReady(
client: Client,
uri: string,
fn: (res?: app.bsky.graph.getStarterPack.$OutputBody) => boolean,
fn: (
res: app.bsky.graph.getStarterPack.$OutputBody | undefined,
err: unknown,
) => boolean,
) {
await until(
5, // 5 tries