This is hand-written asynchronous logic to completely remove Rx dependency from withObservables. It certainly makes the code uglier, harder to read, and more error-prone… but this is low-level infra, we have hundreds or thousands of these, and there's a measurable performance impact of the old implementation.
This is hand-written asynchronous logic to completely remove Rx dependency from withObservables. It certainly makes the code uglier, harder to read, and more error-prone… but this is low-level infra, we have hundreds or thousands of these, and there's a measurable performance impact of the old implementation.