CoAgent8 - Source API
    Preparing search index...

    Function readPrices

    • Returns the stored prices, reading the list when needed (see the module remarks).

      Parameters

      • options: ReadPricesOptions = {}

        models the call needs priced; current for a call with a price limit; refresh (doctor) waits for a read of a list older than a day; fresh always reads afresh; context supplies cancellation and timeout budget.

      Returns Promise<StoredPrices | undefined>

      The prices, or the stored ones when a read fails; undefined when none exist.