From 5894e45393b7f419bbf31468d4eb13480d5d2e6c Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Sun, 18 Sep 2022 10:57:15 +0100 Subject: [PATCH] wsstore note --- src/util/WsStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/WsStore.ts b/src/util/WsStore.ts index 9d68743..e5daa2e 100644 --- a/src/util/WsStore.ts +++ b/src/util/WsStore.ts @@ -16,7 +16,7 @@ type WsTopic = string; /** * A "Set" is used to ensure we only subscribe to a topic once (tracking a list of unique topics we're expected to be connected to) - * TODO: do any WS topics allow parameters? If so, we need a way to track those (see FTX implementation) + * Note: Accurate duplicate tracking only works for plaintext topics. E.g. JSON objects may not be seen as duplicates if keys are in different orders. If that's needed, check the FTX implementation. */ type WsTopicList = Set;