I have this code:
for await (const thing of signal()) {
// logic
}
for await (const thing of anotherSignal()) {
// logic
}
The problem is that these for await
s run forever. So the second one never executes. Is there a way to make these 2 loops run in parallel?