Module / v1.0.0-beta.13

@typed/svelte/Runtime

10 unique exports available through this public import path, including their members and aliases.

import * as Runtime from "@typed/svelte/Runtime";

function

  • asReadable

    function

    Public function exposed as asReadable from @typed/svelte/Runtime.

  • fromContext

    function

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

  • getRuntime

    function

    Optional lookup used by framework adapters during component initialization.

  • provideRuntime

    function

    Call during component initialization; the caller retains runtime ownership.

  • provideServices

    function

    Provides reactive service overrides to this component’s descendants.

  • runtimeContext

    function

    Produces a native Svelte mount/render context map.

  • useRuntime

    function

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

  • withServices

    function

    Shadows services while keeping the parent’s remaining services and lifetime.

type-alias

  • Runtime

    type-alias

    A borrowed execution boundary. ManagedRuntime implements this contract.

  • RuntimeSource

    type-alias

    Public type-alias exposed as RuntimeSource from @typed/svelte/Runtime.