Detailed information about the result of running a task against a specific feature source.

interface TaskResult {
    count: number;
    failureReason?: Error | Cancellation;
    source: FeatureSource;
    time: number;
}

Properties

count: number

The number of features returned from this source.

failureReason?: Error | Cancellation

Provides the reason why the task was unsuccessful for this source if the task could not be completed.

The input feature source.

time: number

The amount of time (in milliseconds) until the first feature was returned from the source.