Skip to content

@genetic-assembly/sdk / Interface: OperationEvent ​

Properties ​

active ​

ts
active: number;

candidateId? ​

ts
optional candidateId?: string;

error? ​

ts
optional error?: ErrorDetail;

generation? ​

ts
optional generation?: number;

operationId ​

ts
operationId: string;

phase? ​

ts
optional phase?: "baseline" | "search" | "validation" | "replay";

queued ​

ts
queued: number;

recordId? ​

ts
optional recordId?: string;

seed? ​

ts
optional seed?: number;

sequence ​

ts
sequence: number;

type ​

ts
type: 
  | "phase"
  | "completed"
  | "failed"
  | "cancelled"
  | "evaluation-started"
  | "evaluation-completed"
  | "evaluation-failed"
  | "generation-completed";

Genetic Assembly · Deterministic NSGA-II optimization