Skip to content

Upgrade App's UI function to async #968

@schloerke

Description

@schloerke

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions