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`.`IReactorDaemonize``

interface documentation

`class IReactorDaemonize(Interface): (source)`

Known implementations: `twisted.internet.kqreactor.KQueueReactor`

View In Hierarchy

A reactor which provides hooks that need to be called before and after daemonization.

Notes:

- This interface SHOULD NOT be called by applications.
- This interface should only be implemented by reactors as a workaround (in particular, it's implemented currently only by kqueue()). For details please see the comments on ticket #1918.

Method | `afterDaemonize` | Hook to be called immediately after daemonization. This may only be called after `beforeDaemonize` had been called previously.
Method | `beforeDaemonize` | Hook to be called immediately before daemonization. No reactor methods may be called until `afterDaemonize` is called.

def afterDaemonize(): (source)

Hook to be called immediately after daemonization. This may only be called after `beforeDaemonize` had been called previously.

def beforeDaemonize(): (source)

Hook to be called immediately before daemonization. No reactor methods may be called until `afterDaemonize` is called.