mirror of https://github.com/grpc/grpc-java.git
Passing a promise to WriteQueue was only misused to add a listener on the promise before issuing the write. Although in this case the listener ordering will be "random" because listeners are being added from two different threads, in general we always want to add a listener after the write returns to let any lower-level listeners be registered first. Future work can resolve the "random" listener order by passing the listener to the WriteQueue and adding the listener from the event loop. |
||
|---|---|---|
| .. | ||
| shaded | ||
| src | ||
| BUILD.bazel | ||
| build.gradle | ||