UltrosBot / Ultros

Connecting communities, one squid at a time! Ultros is a multi-protocol chat bot written in Python, designed with both the user and developer in mind
http://ultros.io
Artistic License 2.0
23 stars 7 forks source link

Deferreds in the plugin manager #64

Open gdude2002 opened 9 years ago

gdude2002 commented 9 years ago

We need to look at how to handle plugins that do stuff that require Deferreds to be used on startup or shutdown. Obviously, the way to do this is to return them to the plugin manager - but what do we do with them after that?

See https://github.com/UltrosBot/Ultros/commit/84fd5b5cb0ae530db5dc70d76ab20c9ae09ea683 for comments relating to where we may use Deferreds.

This is a high-priority blocker as it prevents us from reloading some plugins.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5445188-deferreds-in-the-plugin-manager?utm_campaign=plugin&utm_content=tracker%2F269930&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F269930&utm_medium=issues&utm_source=github).
gdude2002 commented 8 years ago

I've largely added support for this; might want to go over it and check again.