TcpListener.onAccept
Set the accept callback.
Parameters
callback | Callback invoked when a new connection is accepted. Callback contract: clientHandle is caller-owned — the callback must either adopt it into a TcpConnection or close it. Fires on the event loop thread. Does not fire after dispose(). |