Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow plugin action invokation via API #365

Open
smlpt opened this issue Feb 17, 2025 · 0 comments
Open

Allow plugin action invokation via API #365

smlpt opened this issue Feb 17, 2025 · 0 comments

Comments

@smlpt
Copy link

smlpt commented Feb 17, 2025

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))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant