Set a special hook to close the socket (otherwise, will call close())
Declared in <folly/io/async/AsyncPipe.h>
void
setCloseCallback(std::function<void(NetworkSocket)> closeCb);
| Name | Description |
|---|---|
| closeCb | The hook invoked to close the pipe file descriptor. |