Skip to content

Allow plugin action invokation via API #365

@smlpt

Description

@smlpt

In addition to being able to access plugin actions programmatically via mastodon.plugins.getPluginActions().actionMap.get("foo"), it would be nice to also be able to invoke these actions or even attach a callback to them in case they are longer running actions, to get a signal once the calculation has finished.

My current workaround is:
myAction?.actionPerformed(ActionEvent(pluginActions, 0, null))

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