MCPcopy Create free account
hub / github.com/aspnet/AzureSignalR-samples / script.js

File script.js

samples/Whiteboard/wwwroot/script.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1function connect(url, connected, disconnected) {
2 let connectWithRetry = c => c.start().then(() => connected()).catch(error => {
3 console.log('Failed to start SignalR connection: ' + error.message);
4 setTimeout(() => connectWithRetry(c), 5000);

Callers

nothing calls this directly

Calls 13

connectFunction · 0.85
resizeImageFunction · 0.85
startFunction · 0.85
moveFunction · 0.85
endFunction · 0.85
flattenFunction · 0.85
invokeMethod · 0.45
sendMethod · 0.45
onMethod · 0.45
deleteMethod · 0.45
resetMethod · 0.45
hideMethod · 0.45

Tested by

no test coverage detected