ensure_future -> add_task
This commit is contained in:
@@ -11,7 +11,7 @@ def test_ensure_future():
|
||||
e.set()
|
||||
|
||||
app = sanic.Sanic()
|
||||
app.ensure_future(coro)
|
||||
app.add_task(coro)
|
||||
|
||||
@app.route('/early')
|
||||
def not_set(request):
|
||||
Reference in New Issue
Block a user