Interface TaskProvider<T>

interface TaskProvider<T> {
    provideTasks(token): ProviderResult<T[]>;
    resolveTask(task, token): ProviderResult<T>;
}

Type Parameters

Methods

  • Resolves a task that has no execution set. Tasks are often created from information found in the tasks.json-file. Such tasks miss the information on how to execute them and a task provider must fill in the missing information in the resolveTask-method.

    Parameters

    Returns ProviderResult<T>

    The resolved task