From baa7e8372efebac9ee4020151d8c90c378c7b174 Mon Sep 17 00:00:00 2001 From: KATT Date: Fri, 20 Oct 2023 15:51:32 +0200 Subject: [PATCH] cool --- src/async/deserializeAsync.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/async/deserializeAsync.ts b/src/async/deserializeAsync.ts index 80b3b89..7bffd8c 100644 --- a/src/async/deserializeAsync.ts +++ b/src/async/deserializeAsync.ts @@ -91,6 +91,7 @@ function createTsonDeserializer(opts: TsonAsyncOptions) { const idx = serializedValue as TsonAsyncIndex; if (cache.has(idx)) { + // We already have this async value in the cache - so this is probably a reconnect assert( parseOptions.reconnect, "Duplicate index found but reconnect is off",