StateChainInfo

Type

Signature

type StateChainInfo = {
  completedAt: Date | null;
  createdAt: Date;
  deduplicationKey: string | null;
  id: string;
  status: StateChainStatus;
  traceContext: string | null;
  typeName: string;
};

core/src/state-adapter/state-adapter.ts:57

A chain row as a state adapter returns it, without its jobs.

Properties

  • completedAt
    Date | null

    When the chain completed, or null while running.

  • createdAt
    Date

    When the chain was created.

  • deduplicationKey
    string | null

    Deduplication key the chain was created with, or null.

  • id
    string

    Chain ID, equal to the ID of its head job.

  • status
    StateChainStatus

    Current status.

  • traceContext
    string | null

    Serialized trace context of the chain, for observability adapters.

  • typeName
    string

    Chain type name, the type name of its head job.

esc

Search guides, integrations and every exported symbol.

↑ ↓ to navigate↵ to open