Make start_serving() a coroutine.
This commit is contained in:
parent
8747d13f25
commit
0be7861dee
|
@ -523,7 +523,7 @@ use a different transport and protocol interface.
|
|||
port are looked up using ``getaddrinfo()``.
|
||||
|
||||
- ``start_serving(protocol_factory, host, port, **kwds)``. Enters a
|
||||
serving loop that accepts connections. This is a Task that
|
||||
serving loop that accepts connections. This is a coroutine that
|
||||
completes once the serving loop is set up to serve. The return
|
||||
value is a list of one or more sockets in listening mode. (Multiple
|
||||
sockets may be returned if the specified address allows both IPv4
|
||||
|
|
Loading…
Reference in New Issue