Home / Type/ AsyncComponentFactory Type — vue Architecture

AsyncComponentFactory Type — vue Architecture

Architecture documentation for the AsyncComponentFactory type/interface in options.d.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  8fd98316_2107_49b7_5276_a63ed137eaea["AsyncComponentFactory"]
  c7038ba7_9c98_10f0_e3e9_325a4ff78c43["options.d.ts"]
  8fd98316_2107_49b7_5276_a63ed137eaea -->|defined in| c7038ba7_9c98_10f0_e3e9_325a4ff78c43
  style 8fd98316_2107_49b7_5276_a63ed137eaea fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

types/options.d.ts lines 62–76

export type AsyncComponentFactory<
  Data = DefaultData<never>,
  Methods = DefaultMethods<never>,
  Computed = DefaultComputed,
  Props = DefaultProps,
  SetupBindings = {}
> = () => {
  component: Promise<
    ImportedComponent<Data, Methods, Computed, Props, SetupBindings>
  >
  loading?: ImportedComponent
  error?: ImportedComponent
  delay?: number
  timeout?: number
}

Defined In

Frequently Asked Questions

What is the AsyncComponentFactory type?
AsyncComponentFactory is a type/interface in the vue codebase, defined in types/options.d.ts.
Where is AsyncComponentFactory defined?
AsyncComponentFactory is defined in types/options.d.ts at line 62.

Analyze Your Own Codebase

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

Try Supermodel Free