CacheKeyFn
CacheKeyFn = (
context) =>string|Promise<string>
Defined in: src/recording.ts:143
Customizes the cache key for a recording. Returned values are hashed to a filename-safe key.
Parameters
Section titled “Parameters”context
Section titled “context”defaultKey
Section titled “defaultKey”string
recipe
Section titled “recipe”Returns
Section titled “Returns”string | Promise<string>