mirror of
https://github.com/re-rxjs/react-rxjs.git
synced 2025-12-08 18:01:51 +00:00
fix(utils-split): notify subscribers in the correct order
This commit is contained in:
parent
3c2f3b6b18
commit
c59be6c8fe
@ -45,12 +45,12 @@ export function split<K, T, R>(
|
||||
subscriber.next(res)
|
||||
},
|
||||
(e) => {
|
||||
groups.forEach((g) => g.error(e))
|
||||
subscriber.error(e)
|
||||
groups.forEach((g) => g.error(e))
|
||||
},
|
||||
() => {
|
||||
groups.forEach((g) => g.complete())
|
||||
subscriber.complete()
|
||||
groups.forEach((g) => g.complete())
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user