function / @typed/react/Runtime

fromContext

Borrows already-built services. It acquires no resources and never closes the owner’s Scope.

Package version
1.0.0-beta.13
Category
function

Import

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

Signatures

export declare function fromContext<R>(context: 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