Merge branch 'feat/optional-uvloop-use' of github.com:prryplatypus/sanic into tests/optional-uvloop-use
This commit is contained in:
commit
3e14dee8b4
@ -6,7 +6,7 @@ from sanic.server.protocols.http_protocol import HttpProtocol
|
|||||||
from sanic.server.runners import serve, serve_multiple, serve_single
|
from sanic.server.runners import serve, serve_multiple, serve_single
|
||||||
|
|
||||||
|
|
||||||
def use_uvloop() -> bool:
|
def use_uvloop() -> None:
|
||||||
"""
|
"""
|
||||||
Use uvloop instead of the default asyncio loop.
|
Use uvloop instead of the default asyncio loop.
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user