Show / Hide Table of Contents

Namespace Cognite.Extractor.Utils.Unstable.Tasks

Classes

ActionContext<TConfig>

Context passed to a custom action's target callback, giving it access to the extractor's configuration and CDF client, information about the specific action invocation it's handling, and the means to report progress and a final result.

ActionError

Exception type for expected, structured failures raised from within a custom action's target callback.

Unlike an arbitrary exception, an ActionError carries a caller-chosen ErrorType and optional Details, which the dispatcher surfaces as structured resultMetadata on the action's terminal failed update, in addition to using Message as the result message.

BaseErrorReporter

Base class for classes that report errors to integrations, implemented by tasks and extractors respectively.

BaseSchedulableTask

Base class for schedulable tasks.

CheckInWorker

Worker for submitting periodic check-ins to the integrations API.

CustomAction<TConfig>

A custom action registered by an extractor via RegisterAction(CustomAction<TConfig>).

ExtractorError

Utility type for reporting errors to integrations.

After creation you should immediately either Dispose, call Finish, or call Instant.

Typically created through utility methods on IErrorReporter

ExtractorTaskScheduler

Task scheduler that runs tasks and reports their status to the integrations API.

TaskMetadata

Task metadata object.

TaskReporter

Type handling reporting of events related to a single task.

TaskUpdatePayload

Payload for task run.

Interfaces

IIntegrationSink

Interface for types that can consume errors and write them to some sink (integrations API).

In this article
Back to top Generated by DocFX