signalR test2
This commit is contained in:
1 parent
99a6b6f28c
commit
b627851ab5
3 files changed
+12
-60
No files matched your search
@@ -47,12 +47,8 @@
|
||||
}
|
||||
});
|
||||
|
||||
_this.connection.invoke("OpenMarket");
|
||||
|
||||
_this.connection.invoke("GetMarketState").then(function (state) {
|
||||
if (state === 'Open') {
|
||||
_this.startStreaming();
|
||||
}
|
||||
_this.connection.invoke("OpenMarket").then(() => {
|
||||
_this.startStreaming();
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user