You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lazer/sdk/js/examples/streaming.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ import type { JsonUpdate } from "../src/index.js";
6
6
import{PythLazerClient}from"../src/index.js";
7
7
8
8
// Ignore debug messages
9
-
console.debug=()=>{};
9
+
console.debug=()=>{};
10
10
11
11
// Store feed data for in-place updates
12
12
constfeedData=newMap<
@@ -21,7 +21,7 @@ const feedData = new Map<
21
21
>();
22
22
23
23
constclient=awaitPythLazerClient.create({
24
-
token: "your-token-here",// Replace with your actual access token
24
+
token: "ZpIVWYXIXXIPAARXLt50VTRMNjW91UUAnDu-test",// Replace with your actual access token
25
25
logger: console,// Optionally log operations (to the console in this case.)
26
26
webSocketPoolConfig: {
27
27
numConnections: 4,// Optionally specify number of parallel redundant connections to reduce the chance of dropped messages. The connections will round-robin across the provided URLs. Default is 4.
0 commit comments