ChannelPromise is a special ChannelFuture recordable channel that receives notification after an I / O operation is completed.
the method Channel#write(msg)will be delegated Channel#write(msg, promise)using DefaultChannelPromisenetty as the second parameter
source
share