Skip to content

Support for awaitables #11

@jtpio

Description

@jtpio

Ideally we would be able to write code that looks like this:

res = await app.commands.execute('docmanager:new-untitled')
await app.commands.execute('docmanager:open', { 'path': res.path })

So it stays very similar to how we would do things on the TypeScript side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions