WithInterruptible
No overview available.
def WithInterruptible(
v: bool
) - > PluginTaskExecutionContextOption
Configures a PluginTaskExecutionContextOption to set the interruptible flag for a plugin task's execution metadata. This allows callers to specify whether a task can be interrupted.
Parameters
| Name | Type | Description |
|---|---|---|
| v | bool | The boolean value indicating whether the task should be interruptible. Set to 'true' to allow interruption, 'false' otherwise. |
Returns
| Type | Description |
|---|---|
PluginTaskExecutionContextOption | A function that modifies a pluginTaskExecutionContext to set its interruptible metadata. |