Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`internet`.`interfaces`.`IPushProducer``

interface documentation

`class IPushProducer(IProducer): (source)`

Known subclasses: `twisted.web.iweb.IBodyProducer`, `twisted.internet.endpoints._IProcessTransportWithConsumerAndProducer`

Known implementations: `twisted.internet.abstract.FileDescriptor`, `twisted.internet.iocpreactor.abstract.FileHandle`, `twisted.internet.stdio.StandardIO`, `twisted.internet.testing.StringTransport`, `twisted.web._http2.H2Connection`, `twisted.web._http2.H2Stream`, `twisted.web._newclient.TransportProxyProducer`, `twisted.web.http.HTTPChannel`, `twisted.internet._pollingfile._PollableReadPipe`, `twisted.internet._producer_helpers._PullToPush`, `twisted.protocols.tls._ProducerMembrane`, `twisted.web.http._NoPushProducer`

View In Hierarchy

A push producer, also known as a streaming producer is expected to produce (write to this consumer) data on a continuous basis, unless it has been paused. A paused push producer will resume producing after its `resumeProducing()` method is called. For a push producer which is not pauseable, these functions may be noops.

Method | `pauseProducing` | Pause producing data.
Method | `resumeProducing` | Resume producing data.

Inherited from `IProducer`:

Method | `stopProducing` | Stop producing data.

def pauseProducing(): (source)

Pause producing data.

Tells a producer that it has produced too much data to process for the time being, and to stop until `resumeProducing()` is called.

def resumeProducing(): (source)

Resume producing data.

This tells a producer to re-add itself to the main loop and produce more data for its consumer.