Type alias OperationReserved

OperationReserved: {
    status: "reserved";
    id: string;
    run: 1;
} | {
    status: "in_flight";
}

What an operation admission answers: reserved with run 1's lease, or in_flight when the operation has a row already.

Type declaration

  • status: "reserved"
  • id: string
  • run: 1

Type declaration

  • status: "in_flight"