McaiChannel
- class mcai_worker_sdk.McaiChannel
Channel object that allows sending information (status, progression) about the job to the backend.
- is_stopped()
Method for checking wether the current job is stopped.
- Returns:
True if the current job is stopped, else False.
- Return type:
bool
- publish_job_progression(progression)
Method for publishing the progression of the job.
- Parameters:
progression (int) – progression of the job in percent.
- Returns:
True if the publication of the progression was successfull, else False.
- Return type:
bool