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`.`trial`.`_dist`.`disttrial`.`StartedWorkerPool``

class documentation

`class StartedWorkerPool: (source)`

View In Hierarchy

A pool of workers which have already been started.

Async Method | `join` | Shut down all of the workers in the pool.
Async Method | `run` | Run an action on all of the workers in the pool.
Instance Variable | `ampWorkers` | AMP protocol instances corresponding to the worker child processes.
Instance Variable | `testDirLock` | An object representing the cooperative lock this pool holds on its working directory.
Instance Variable | `testLog` | The open overall test log file.
Instance Variable | `workers` | Objects corresponding to the worker child processes and adapting between process-related interfaces and `IProtocol`.
Instance Variable | `workingDirectory` | A directory holding the working directories for each of the workers.
Class Variable | `_logger` | Undocumented

async def join(self): (source)

Shut down all of the workers in the pool.

The pool is unusable after this method is called.

async def run(self, workerAction: `WorkerAction[Any]`): (source)

Run an action on all of the workers in the pool.

ampWorkers: `List[LocalWorkerAMP]` = (source)

AMP protocol instances corresponding to the worker child processes.

testDirLock: `FilesystemLock` = (source)

An object representing the cooperative lock this pool holds on its working directory.

testLog: `TextIO` = (source)

The open overall test log file.

workers: `List[LocalWorker]` = (source)

Objects corresponding to the worker child processes and adapting between process-related interfaces and `IProtocol`.

workingDirectory: `FilePath[Any]` = (source)

A directory holding the working directories for each of the workers.

_logger = (source)

Undocumented