Store processing tasks for @metreeca/pipe.
Provides ready-made @metreeca/flow steps for working with @metreeca/keep stores in pipelines run by the @metreeca/gear job executor.
npm install @metreeca/gear # the job executor
npm install @metreeca/pipe-store # this package
npm install @metreeca/keep-<connector> # store connector for the target backend
Node.js 22 or later is required.
TypeScript consumers must use "moduleResolution": "nodenext"/"node16"/"bundler" in tsconfig.json.
The legacy "node" resolver is not supported.
| Task | Description |
|---|---|
lookup() |
Store resource retriever |
retire() |
Retired resource selector |
settle() |
Resource delta writer |
The store service has no default: a job binds a store connector to createStore() once, and every task
or sink in the execution then reads from or writes to the store that connector reaches.
This project is licensed under the Apache 2.0 License – see LICENSE file for details.
Target state of a single resource.
Creates the default store.
Retrieves a resource, or the items of a collection it holds, from the store.
Creates a task that selects the resources to retire.
Creates a sink that writes the deltas of a pipeline to the store.
Creates a delta for a resource.
Store processing tasks.
Provides ready-made @metreeca/flow steps for working with @metreeca/keep stores in pipelines run by the @metreeca/gear executor.
A job binds a store connector to createStore once, and every step that needs a store uses that one.