Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/e/l/eliot-0.3.0/eliot/logwriter.py   eliot(Download)
    from twisted.internet.selectreactor import SelectReactor as Reactor
 
from eliot import addDestination, removeDestination
 
 
        """
        Service.stopService(self)
        removeDestination(self)
        self._reactor.callFromThread(self._reactor.stop)
        return deferToThreadPool(

src/e/l/eliot-0.3.0/eliot/tests/test_logwriter.py   eliot(Download)
    from eliot.logwriter import ThreadedFileWriter
 
from eliot import Logger, removeDestination
 
 
        writer.startService()
        d = writer.stopService()
        d.addCallback(lambda _: removeDestination(writer))
        return self.assertFailure(d, ValueError)