notify on sub
This commit is contained in:
parent
d4ed5e0355
commit
6b298763af
1 changed files with 2 additions and 0 deletions
|
|
@ -133,6 +133,8 @@ const onIncoming = cb => {
|
||||||
subbed = true
|
subbed = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cb(getPubToIncoming())
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
incomingsListeners.delete(cb)
|
incomingsListeners.delete(cb)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue