MCPcopy
hub / github.com/nanostores/nanostores / Computed

Interface Computed

computed/index.d.ts:14–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12type C = (...values: StoreValues<[A, B]>) => void
13
14interface Computed {
15 /**
16 * @deprecated Use `@nanostores/async`.
17 */
18 <Value, OriginStore extends Store>(
19 stores: OriginStore,
20 cb: (value: StoreValue<OriginStore>) => Task<Value>
21 ): ReadableAtom<undefined | Value>
22 /**
23 * @deprecated Use `@nanostores/async`.
24 */
25 <Value, OriginStores extends AnyStore[]>(
26 stores: [...OriginStores],
27 cb: (...values: StoreValues<OriginStores>) => Task<Value>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected