acceptNext

abstract suspend fun acceptNext(): Incoming?

Pull the next incoming connection attempt from the accept queue.

Returns None once the endpoint is closed. Use this for a custom accept loop instead of (or in addition to) registering protocol handlers via `EndpointOptions::protocols`.