@honua/sdk-js
    Preparing search index...

    Interface HonuaKernelConnection<T>

    Kernel-managed connection returned by HonuaKernel.connect.

    HonuaKernelConnection is additive beside the existing lower-level HonuaConnection returned by standalone connect(). Both expose the same Dataset -> Source contract; this handle additionally owns refresh and disposal semantics.

    interface HonuaKernelConnection<T = Record<string, unknown>> {
        dataset: Dataset;
        id: string;
        sourceDescriptors: readonly SourceDescriptor<Protocol>[];
        "[asyncDispose]"(): PromiseLike<void>;
        dispose(): Promise<void>;
        explain(
            query: Readonly<Query<T>>,
            options?: ExplainOptions,
        ): Promise<QueryExecutionPlanV1>;
        inspect(options?: InspectOptions): Promise<ConnectionInspection>;
        mount<TKind extends RendererKind, TRaw, TRendererOptions = unknown>(
            target: RendererTarget,
            options: MountOptions<T, TKind, TRaw, TRendererOptions>,
        ): Promise<MountedMap<TKind, TRaw>>;
        query(
            query: Readonly<Query<T>>,
            options?: ExplainOptions,
        ): Promise<FeatureQueryResult<T>>;
        query(
            plan: QueryExecutionPlanV1,
            options?: ExplainOptions,
        ): Promise<FeatureQueryResult<T>>;
        source<TSource = T>(id?: string): Source<TSource>;
    }

    Type Parameters

    • T = Record<string, unknown>

    Hierarchy

    • AsyncDisposable
      • HonuaKernelConnection
    Index

    Properties

    dataset: Dataset
    id: string
    sourceDescriptors: readonly SourceDescriptor<Protocol>[]

    Methods

    • Returns PromiseLike<void>