footprintjs - v11.2.0
    Preparing search index...

    Interface ComponentRun

    One captured component occurrence: private cells plus joined terminal control. WHY: mounted components have no public run wrapper to own cleanup. entry.ordinal is a native occurrence coordinate, never application identity.

    interface ComponentRun {
        entry: NativeComponentEntry;
        origin: NativeRunOrigin;
        local<T>(slot: RunSlot<T>, initialize: () => T): T;
        onFinalize(cleanup: (end: ComponentEnd) => void | Promise<void>): void;
        read<T>(slot: RunSlot<T>): CellValue<T>;
        set<T>(slot: RunSlot<T>, value: T): void;
        take<T>(slot: RunSlot<T>): CellValue<T>;
    }

    Hierarchy

    Index

    Readonlyentry

    Native occurrence within this leg, not application identity, resume identity or authority.

    • Register before resource effects. Native control joins callbacks once in reverse order; owned roots settle after postprocessing, raw roots at native terminal. A failFast sibling mount can settle later than its rejected parent. Cleanup must bound its own time; the run signal/deadline do not cover it. A pause wins over cleanup failure (count logged). Observation has closed before cleanup; a prior body/native failure keeps precedence.

      Parameters

      Returns void