Function updateCacheForKey

  • Function

    Name

    updateCacheForKey

    Memberof

    module:moize

    Alias

    moize.updateCacheForKey

    Description

    update the cache for a given key when the method passed returns truthy

    Type Parameters

    • UpdateWhen extends UpdateCacheForKey

    Parameters

    • updateCacheForKey: UpdateWhen

      the method to determine when to update cache

    Returns Moizer<{
        updateCacheForKey: UpdateWhen;
    }>

    the moizer function

Generated using TypeDoc