util - making asyncio even better

timelimit delay task loop

Wait for a task or a coroutine to complete, but only if it manages to do so in the next delay seconds. If not, cancel it (and raise asyncio.CancelledError.)

This function is a coroutine.

start_server callback ...

Same as asyncio.start_server, but accepts a list of sockets as its sock argument (unlike asyncio.start_server, which can only serve on one socket.)

This function is a coroutine.

create_server protocol_factory ...

Same as asyncio.BaseEventLoop.create_server, but can accept a list of sockets as its sock argument (unlike the default create_server, which can only serve on one socket as well.)

This function is a coroutine.