Skip to content
Myr

Fix async doc

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Brochart · committed by David Lord · parent dd5a050 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/api.rst+1 added-1 removed
541 unmodified lines
542543* template rendering will require an event loop to be set for the544 current thread (``asyncio.get_event_loop`` needs to return one)545* all template generation code internally runs async generators which546 means that you will pay a performance penalty even if the non sync546 means that you will pay a performance penalty even if the non async547 methods are used!548* The sync methods are based on async methods if the async mode is549 enabled which means that `render` for instance will internally invoke550 `render_async` and run it as part of the current event loop until the
383 unmodified lines