Service Conditions
Provides service-related conditions
-
class ServiceFinished(path, *, wait=False)[source]
Bases: BaseCondition
Check if a Service
was executed successfully.
-
path: str
The path of the condition pipeline component.
-
wait: bool
Whether to wait for the service to be finished.
This eliminates possible service states NOT_RUN
and RUNNING
.
-
async call(ctx)[source]
Implement this to create a custom function.
- Return type:
bool