Taipy.core.unsubscribe scenario
Unsubscribe a function that is called when the status of a Job
changes.
If scenario is not provided, the subscription is removed for all scenarios.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
callback |
Callable[[Scenario, Job], None]
|
The function to unsubscribe to. |
required |
params |
Optional[List[Any]]
|
The parameters to be passed to the callback. |
None
|
scenario |
Optional[Scenario]
|
The scenario to unsubscribe to. If None, all scenarios unsubscribe to callback. |
None
|
Note
The function will continue to be called for ongoing jobs.