function / @typed/svelte/Runtime

fromContext

Carries an existing Effect context into Svelte without acquiring a Layer.

Package version
1.0.0-beta.13
Category
function

Import

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

Signatures

export declare function fromContext<R>(services: Context.Context<R>): Runtime<R>;

Other public imports

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

Source