Skip to content

resolveExtractedValueStore

function resolveExtractedValueStore(harnessDefault?): ExtractedValueStore;

Resolves the store for runExtractors.

On Node this defaults to the FILE store, not the in-memory one. The path this replaced took a caller-supplied PersistentMemoryStore, so an in-memory default would have been a silent durability regression: facts would survive until the next restart and no error would say so. Off Node (workerd) there is no filesystem, so in-memory remains the fallback and a deployment there is expected to pass a real store.

Parameter Type

harnessDefault?

ExtractedValueStore

ExtractedValueStore