Opened 8 years ago

Last modified 7 years ago

#6625 enhancement new

"Choosing a reactor" howto should explain the various ways of installing a reactor

Reported by: Tom Prince Owned by:
Priority: normal Milestone:
Component: core Keywords: documentation
Cc: Branch:


The ones I know of:

  1. from twisted.internet import reactor (for the default)
    • Also 'twisted.internet.default.install()`
  2. twisted.application.reactors.installReactor(shortName)
    • Also twisted.application.reactors.getReactorTypes()[n].install()
  3. (for use with twisted.python.usage.Options
  4. Calling <reactor-module>.install() (all the examples currently use this)
  5. Using arguments to twistd or trial.

Change History (1)

comment:1 Changed 7 years ago by khorn

Should this go in Choosing a Reactor? Or in the Reactor Overview?

Note: See TracTickets for help on using tickets.