wsstore note

This commit is contained in:
tiagosiebler
2022-09-18 10:57:15 +01:00
parent 296262f4fb
commit 5894e45393

View File

@@ -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) * 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<WsTopic>; type WsTopicList = Set<WsTopic>;