# Function subAppReady

- subAppReady(list?, ignores?, callDepth?): Promise<any>

- Wait for subapps to be ready.

  - A subapp is awaited if one of the following is true
  1. It needs SSR
  2. The param `list` is `true`
  3. The param `list` is array of strings and contains the subapp's name.

  #### Parameters

  - `Optional` list: boolean | string[]

    list of subapps' names to wait (if it's true, then wait for all)

  - `Optional` ignores: string[]

    List of subapp names to ignore

  - `Optional` callDepth: number

    Call depth to search

  #### Returns Promise<any>

  promise

  - Defined in packages/xarc-subapp/dist-node-cjs/subapp/subapp-ready.d.ts:20