MCPcopy
hub / github.com/sveltejs/svelte / readable

Function readable

packages/svelte/src/store/shared/index.js:20–24  ·  view source on GitHub ↗
(value, start)

Source from the content-addressed store, hash-verified

18 * @returns {Readable<T>}
19 */
20export function readable(value, start) {
21 return {
22 subscribe: writable(value, start).subscribe
23 };
24}
25
26/**
27 * Create a `Writable` store that allows both updating and reading by subscription.

Callers 2

test.tsFile · 0.90
derivedFunction · 0.85

Calls 1

writableFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…