Skip to main content

WithExtendedResources

No overview available.

def WithExtendedResources(
er: *core.ExtendedResources
) - > PluginTaskExecutionContextOption

Configures a PluginTaskExecutionContextOption to include extended resources. This function allows callers to specify additional resources that a plugin task may require, ensuring the task runs with the necessary allocations.

Parameters

NameTypeDescription
er*core.ExtendedResourcesThe extended resources to be associated with the plugin task execution context. These resources define additional requirements or capabilities for the task.

Returns

TypeDescription
PluginTaskExecutionContextOptionA function that modifies a pluginTaskExecutionContext to include the specified extended resources.