readEOF() will be invoked when the transport is closed.
Declared in <folly/io/async/AsyncTransport.h>
<folly/io/async/AsyncTransport.h>
virtual void readEOF() noexcept = 0;
The read callback will be automatically uninstalled immediately before readEOF() is invoked.