IFClite TypeScript API
    Preparing search index...

    Interface BcfWriteGateway

    Host-owned durable write path. write must persist the intent before calling send, persist the receipt or failure after, and reject without calling send when an identical earlier write is still unresolved.

    interface BcfWriteGateway {
        write<T extends { guid: string }>(
            intent: BcfWriteIntent,
            send: () => Promise<T>,
            secrets?: readonly string[],
        ): Promise<T>;
    }
    Index
    • Type Parameters

      • T extends { guid: string }

      Parameters

      • intent: BcfWriteIntent
      • send: () => Promise<T>
      • Optionalsecrets: readonly string[]

      Returns Promise<T>