Ticket #6162 defect new

Opened 7 months ago

Last modified 7 months ago

Agent howtos manually call reactor.run/reactor.stop

Reported by: habnabit Owned by:
Priority: normal Milestone:
Component: web Keywords: documentation
Cc: jknight Branch:
Author: Launchpad Bug:

Description

All of the code snippets in the Agent howto would be simplified by use of t.i.task.react instead of calling reactor.run() and reactor.stop() in a deferred callback. This would also show the modern idiom for spinning up a reactor for only one task.

Change History

1

Changed 7 months ago by DefaultCC Plugin

  • cc jknight added

2

Changed 7 months ago by exarkun

  • keywords documentation added
  • type changed from enhancement to defect

While addressing this issue, please consider that simply switching to react may not actually simplify the examples. Instead, it may make them more complex by introducing a new concept which must be understood before the examples can be understood.

Note: See TracTickets for help on using tickets.