createTaskCacheStore
Purpose and behavior
Section titled “Purpose and behavior”Create a TaskCacheStore that keeps each entry as task-cache/<fingerprint>.json. A write replaces the stored entry conditionally and keeps a concurrent writer’s entry; a read validates the entry and rejects one above maxBytes. Entries are not authenticated: anyone who can write the transport controls restored results.
Complete example and detailed rules.
Parameters and properties
Section titled “Parameters and properties”optionsRequiredTaskCacheStoreOptionsTransport that stores entries under task-cache/ and an optional entry size bound.options.maxBytesOptionalnumber | undefinedPositive maximum serialized entry size in bytes, default 16 MiB; enforced when writing and reading.options.transporterRequiredTransportCaller-owned object transport used by the store or operation. Closing a workflow or sandbox does not close this transport.