signalR test2

This commit is contained in:
zhougf committed 2024-03-09 23:36:57 +08:00
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();
});
});
},