Implements

Constructors

Properties

Methods

Constructors

Properties

storage: IStorage<DurablePromiseRecord> = ...

Methods

  • Parameters

    • id: string
    • func: ((item) => boolean)
        • (item): boolean
        • Parameters

          • item: DurablePromiseRecord

          Returns boolean

    Returns Promise<boolean>

  • Type Parameters

    • T extends undefined | DurablePromiseRecord

    Parameters

    • id: string
    • func: ((item) => T)
        • (item): T
        • Parameters

          • item: undefined | DurablePromiseRecord

          Returns T

    Returns Promise<T>