netty5/codec/src
Norman Maurer e04f48d802
Add cascadeTo methods to Future (#11623)
Motivation:

The need of cascade from a Future to a Promise exists. We should add some default implementation for it.

Modifications:

- Merge PromiseNotifier into Futures
- Add default cascadeTo(...) methods to Future
- Add tests to FuturesTest
- Replace usage of PromiseNotifier with Future.cascadeTo
- Use combination of map(...) and cascadeTo(...) in *Bootstrap to reduce code duplication

Result:

Provide default implementation of cascadeTo.
2021-08-29 15:44:34 +02:00
..
main/java/io/netty/handler/codec Add cascadeTo methods to Future (#11623) 2021-08-29 15:44:34 +02:00
test Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00