Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
cool
Browse files Browse the repository at this point in the history
  • Loading branch information
KATT committed Oct 20, 2023
1 parent 30d27fb commit baa7e83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/async/deserializeAsync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit baa7e83

Please sign in to comment.