Skip to content
Commit Detail

Commit 603a2be

Author
Dan Lapid <dan.lapid@gmail.com> 2024-10-09 16:01:30 +0100
Parents
4bded4c
Tree
06738a8
Refactor waitUntilTasks from CustomEvent::sendRpc. (#2865)

Using waitUntilTasks in sendRpc is a footgun as you might depend on
a request to the rpc server that will happen complete after the request
has been responded to and the client closes the connection causing a
waitUntilTasks is not empty error. This PR and the internal PR fix any
remaining usages of waitUntilTasks and finally refactors waitUntilTasks
out of the code.

Files changed