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

Async Plugin Support #2571

Open
half-duplex opened this issue Nov 28, 2023 · 0 comments
Open

Async Plugin Support #2571

half-duplex opened this issue Nov 28, 2023 · 0 comments
Labels
Core/Plugin Handling Feature Needs Triage Issues that need to be reviewed and categorized Tracking

Comments

@half-duplex
Copy link
Member

half-duplex commented Nov 28, 2023

Requested Feature

As a plugin developer I would like it to be easier to take advantage of async features in my plugins.

  • Support async setup(), or at least have the event loop already running
  • Support async callbacks, probably transparently with iscoroutinefunction()

This also makes things like sopel-http and sopel-github (bottle) less complex to implement.

Problems Solved

Right now I have to use threads and start my own event loop if I want to use async features, which is unnecessary, annoying, and adds additional overhead and fragility.

@half-duplex half-duplex added Feature Tracking Core/Plugin Handling Needs Triage Issues that need to be reviewed and categorized labels Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core/Plugin Handling Feature Needs Triage Issues that need to be reviewed and categorized Tracking
Projects
None yet
Development

No branches or pull requests

1 participant