durable-execution - v0.7.0
    Preparing search index...

    Type Alias DurableStorage

    A durable storage with support for transactions. Running multiple transactions in parallel must be supported. If that is not possible, use createTransactionMutex to run transactions sequentially.

    type DurableStorage = {
        withTransaction: <T>(
            fn: (tx: DurableStorageTx) => Promise<T>,
        ) => Promise<T>;
    }
    Index

    Properties

    Properties

    withTransaction: <T>(fn: (tx: DurableStorageTx) => Promise<T>) => Promise<T>