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
|
||||
}
|
||||
|
||||
cb(getPubToIncoming())
|
||||
|
||||
return () => {
|
||||
incomingsListeners.delete(cb)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue