Skip to content

Commit d2ec322

Browse files
committed
Add comment
1 parent 98ba610 commit d2ec322

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/database/src/core/PersistentConnection.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ export class PersistentConnection extends ServerActions {
7777
private log_ = logWrapper('p:' + this.id + ':');
7878

7979
private interruptReasons_: { [reason: string]: boolean } = {};
80-
private readonly listens: Map<string, Map<string, ListenSpec>> = new Map();
80+
/** Map<path, Map<queryId, ListenSpec>> */
81+
private readonly listens: Map<
82+
/* path */ string,
83+
Map</* queryId */ string, ListenSpec>
84+
> = new Map();
8185
private outstandingPuts_: OutstandingPut[] = [];
8286
private outstandingPutCount_ = 0;
8387
private onDisconnectRequestQueue_: OnDisconnectRequest[] = [];

0 commit comments

Comments
 (0)