Type Alias: ChoicePolicy — Kata docs
Kata docs

kata-framework


Type Alias: ChoicePolicy

type ChoicePolicy = 
  | {
  type: "first-writer";
}
  | {
  playerId: string;
  type: "designated";
}
  | {
  resolver: (votes) => string;
  timeout: number;
  type: "vote";
};

Defined in: packages/kata-sync/src/types.ts:49