interface SuspenseBoundary {
    activeBranch: null | VNode<RendererNode, RendererElement, {
        [key: string]: any;
    }>;
    container: RendererElement;
    deps: number;
    effects: Function[];
    hiddenContainer: RendererElement;
    isHydrating: boolean;
    isInFallback: boolean;
    isUnmounted: boolean;
    namespace: ElementNamespace;
    parent: null | SuspenseBoundary;
    parentComponent: null | ComponentInternalInstance;
    pendingBranch: null | VNode<RendererNode, RendererElement, {
        [key: string]: any;
    }>;
    pendingId: number;
    timeout: number;
    vnode: VNode<RendererNode, RendererElement, SuspenseProps>;
    fallback(fallbackVNode: VNode<RendererNode, RendererElement, {
        [key: string]: any;
    }>): void;
    move(container: RendererElement, anchor: null | RendererNode, type: MoveType): void;
    next(): null | RendererNode;
    registerDep(instance: ComponentInternalInstance, setupRenderEffect: SetupRenderEffectFn, optimized: boolean): void;
    resolve(force?: boolean, sync?: boolean): void;
    unmount(parentSuspense: null | SuspenseBoundary, doRemove?: boolean): void;
}

Properties

activeBranch: null | VNode<RendererNode, RendererElement, {
    [key: string]: any;
}>
container: RendererElement
deps: number
effects: Function[]
hiddenContainer: RendererElement
isHydrating: boolean
isInFallback: boolean
isUnmounted: boolean
namespace: ElementNamespace
parent: null | SuspenseBoundary
parentComponent: null | ComponentInternalInstance
pendingBranch: null | VNode<RendererNode, RendererElement, {
    [key: string]: any;
}>
pendingId: number
timeout: number

Methods

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Returns null | RendererNode

  • Parameters

    Returns void

  • Parameters

    • Optionalforce: boolean
    • Optionalsync: boolean

    Returns void

  • Parameters

    Returns void