mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-12-10 19:54:15 +03:00
fix socket subscription
This commit is contained in:
parent
10f112c0ee
commit
c724dfa947
|
|
@ -402,6 +402,9 @@ class DevToolsEnhancer<S, A extends Action<string>, PreloadedState> {
|
||||||
for await (const data of this.socket!.subscribe(channelName)) {
|
for await (const data of this.socket!.subscribe(channelName)) {
|
||||||
this.handleMessages(data as Message<S, A>);
|
this.handleMessages(data as Message<S, A>);
|
||||||
}
|
}
|
||||||
|
for await (const data of this.socket!.subscribe('sc-' + this.socket!.id)) {
|
||||||
|
this.handleMessages(data as Message<S, A>);
|
||||||
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user