forked from Deuxfleurs/infrastructure
WIP netiquette
This commit is contained in:
parent
fcc2328a3b
commit
73a0697e0f
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ function* notifications_aggregator(injectors) {
|
||||||
yield async (tag_list) => {
|
yield async (tag_list) => {
|
||||||
states[idx] = tag_list
|
states[idx] = tag_list
|
||||||
const merged = states.reduce((acc, tag) => [...acc, ...tag], [])
|
const merged = states.reduce((acc, tag) => [...acc, ...tag], [])
|
||||||
await Promise.all(injectors.map(notify => notify(merged)))
|
await Promise.all(injectors.map(notify => notify(merged)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue