function / @typed/svelte/Runtime

useRuntime

Reads the closest runtime provider. Its store follows runtime replacements.

Package version
1.0.0-beta.13
Category
function

Import

import { useRuntime } from "@typed/svelte/Runtime";

Signatures

export declare function useRuntime<R = never, ER = never>(): Readable<Runtime<R, ER>>;

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source