Gotcha 😄 > `sendEvent` is still a sub-request though Like from the perspective of the sender rig
Gotcha
Like from the perspective of the sender right? (I imagine I mean... but just in case?)
My thought process is that Instead of having a workflow:
sendEventis still a sub-request though
Like from the perspective of the sender right? (I imagine I mean... but just in case?)
My thought process is that Instead of having a workflow:
- Trigger 1000 sub requests
- Sub-request doing a lot of db-calls/other-workflows/etc, (Likely reaching sub-request limits)
- Wait for 1000 answers
- Continue execution
- Trigger 1000 workflows, (and a not await for their responses)
- Worflows being able to do up to 1000 sub-requests on their own.
- Promise.all/await for 1000 events (with unique IDs)
- Have every one of those other workflows call a
.sendEvent(with unique Ids) - Continue execution


