Class TaskDefinitionRegistry

Constructors

Properties

definitions: Map<string, TaskDefinition[]> = ...
onDidRegisterTaskDefinitionEmitter: Emitter<void> = ...
onDidUnregisterTaskDefinitionEmitter: Emitter<void> = ...

Accessors

Methods

  • Finds the task definition from the registry for the task configuration. The task configuration is considered as a "match" to the task definition if it has all the required properties. In case that more than one task definition is found, return the one that has the biggest number of matched properties.

    Parameters

    Returns undefined | TaskDefinition

    the task definition for the task configuration. If the task definition is not found, undefined is returned.