Would allow for app authors to make async calls within their UI function.
From what I can see,
|
ui = self._render_page(self.ui(request), self.lib_prefix) |
is the only place it is executed and is already within an async function.
We could wrap it in async at the very beginning, avoiding repeated is async checks.