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”:
Search in specific fields. The following search matches all objects
in "twisted.mail" that matches “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”:
Results provided by Lunr.js
class IService(Interface): (source)
Run start-up and shut-down code at the appropriate times.
||Use this API to remove an
||Do preparation work for starting the service.|
||Set the name of the service.|
||Set the parent of the service. This method is responsible for setting the parent attribute on this service (the child service).|
||Start the service.|
||Stop the service.|
||A str which is the name of the service or None.|
||An IServiceCollection which is the parent or None.|
||A boolean which indicates whether the service is running.|
Use this API to remove an
IService from an
This method is used symmetrically with
setServiceParent in that it sets the parent attribute on the child.
Do preparation work for starting the service.
Here things which should be done before changing directory, root or shedding privileges are done.
Set the name of the service.
|Raised if the service already has a parent.|
Set the parent of the service. This method is responsible for setting the parent attribute on this service (the child service).
|Raised if the service already has a parent or if the service has a name and the parent already has a child by that name.|