Home / Type/ AsyncComponentOptions Type — vue Architecture

AsyncComponentOptions Type — vue Architecture

Architecture documentation for the AsyncComponentOptions type/interface in v3-define-async-component.d.ts from the vue codebase.

Entity Profile

Source Code

types/v3-define-async-component.d.ts lines 9–22

export interface AsyncComponentOptions {
  loader: AsyncComponentLoader
  loadingComponent?: Component
  errorComponent?: Component
  delay?: number
  timeout?: number
  // suspensible?: boolean
  onError?: (
    error: Error,
    retry: () => void,
    fail: () => void,
    attempts: number
  ) => any
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free