...
Code Block |
---|
const positionUpdateHubMethodName = 'position-update' hubConnection.on(hubMethodNamepositionUpdateHubMethodName, (message: any) => { const position = JSON.parse(message) as Position; if (position) { ... } }); |
...
...
Code Block |
---|
const positionUpdateHubMethodName = 'position-update' hubConnection.on(hubMethodNamepositionUpdateHubMethodName, (message: any) => { const position = JSON.parse(message) as Position; if (position) { ... } }); |
...