Opened 9 years ago

Last modified 4 years ago

#6339 enhancement new

Make twisted.internet._producer_helpers._PullToPush public.

Reported by: Tom Prince Owned by: Tom Prince
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch: branches/pull-to-push-6339
branch-diff, diff-cov, branch-cov, buildbot
Author: tomprince


It is generally useful to be able to convert a IPullProducer to an IPushProducer, so make the implementation of that available for general use. (See #601 for a example use case)

Change History (2)

comment:1 Changed 9 years ago by Tom Prince

Author: tomprince
Branch: branches/pull-to-push-6339

(In [37327]) Branching to pull-to-push-6339.

comment:2 Changed 4 years ago by Tom Most

Summary: Make twisted.protocol.tls._PullToPush public.Make twisted.internet._producer_helpers._PullToPush public.

A public version of this API should also accept a reactor. Right now _PushToPull uses the global reactor through a call to twisted.internet.task.cooperate().

Note: See TracTickets for help on using tickets.