unsubscribe_sequence() function
Unsubscribe a function that is called when the status of a Job changes.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
callback |
Callable[[Sequence, Job], None]
|
The callable function to be called on status change. |
required |
params |
Optional[List[Any]]
|
The parameters to be passed to the callback. |
None
|
sequence |
Optional[Sequence]
|
The sequence to unsubscribe to. If None, it applies to all sequences. |
None
|
Note
The function will continue to be called for ongoing jobs.