method Deno.HttpConn.nextRequest
HttpConn.nextRequest(): Promise<RequestEvent | null>
An alternative to the async iterable interface which provides promises
which resolve with either a RequestEvent
when there is
another request or null
when the client has closed the connection.
Promise<RequestEvent | null>