concept readable store in category svelte
appears as: Readable stores, readable store, readable store

This is an excerpt from Manning's book Svelte and Sapper in Action.
import {readable} from 'svelte/store'; export const dogStore = readable([], set => { const res = await fetch('/dogs'); const dogs = await res.json(); set(dogs); return () => {}; });