Function: defineExternalStoreAdapter()

June 23, 2026 ยท View on GitHub

coaction


coaction / api-docs / defineExternalStoreAdapter

Function: defineExternalStoreAdapter()

defineExternalStoreAdapter<F>(options): F

Defined in: packages/core/src/binder.ts:107

Define a whole-store adapter for integrating an external state runtime with Coaction.

Type Parameters

F

F = (...args) => any

Parameters

options

ExternalStoreAdapterOptions<F>

Returns

F

Remarks

This is the stable 2.x name for adapter authors. createBinder() remains as a compatibility alias for existing official and community integrations.