twisted.internet.error.ReactorNotRestartable - How to restart a stopped Reactor in the same process

Viewed 12

In a python function, I create a twisted reactor, use it and I stop the twisted Reactor using stop() command. I need to restart the twisted reactor in the same process but later time. It throws this error:

twisted.internet.error.ReactorNotRestartable

How do I handle it?

0 Answers
Related