Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / composeChain

Function: composeChain()

ts
function composeChain(stores): SecretsStore;

Defined in: packages/security/src/secrets/factory.ts:170

Compose multiple stores into a try-in-order chain. The first non-null value wins; writes go to the first writable store.

Parameters

ParameterType
storesreadonly SecretsStore[]

Returns

SecretsStore

Stable