Setu-TS
    Preparing search index...

    Type Alias WritePreconditionCheck<Data>

    WritePreconditionCheck:
        | { ok: false; problem: string }
        | { data: Data; ok: true; where: WritePrecondition }

    The outcome of checkWritePrecondition: a refusal reason, or private copies of the inputs that a conditional write must use in place of the caller's objects.

    Type Parameters

    • Data

      undefined when no update payload was supplied

    0.9.0