#3207: Core: migrate from Twisted to Asyncio
------------------------------+---------------------------
Reporter: andar | Owner: andar
Type: feature-request | Status: new
Priority: major | Milestone: 2.x
Component: Core | Version: develop (git)
Resolution: | Keywords:
------------------------------+---------------------------
Comment (by andar):
I think that maybe running Twisted on top of asyncio might make sense for
your plugin then.
https://twistedmatrix.com/documents/current/api/twisted.internet.asyncioreactor.html
{{{
import asyncio
from twisted.internet import asyncioreactor
asyncioreactor.install(asyncio.get_event_loop())
}}}
Maybe Deluge could do this for plugins so that we don't need to rewrite
them?
I understand that we could wrap all the coroutines in Deferreds and keep
using Twisted, but I really don't want to go down that route and would
much rather remove Twisted and never deal with another Deferred again.
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3207#comment:8>
Deluge <http://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.