@json-schema-tools/traverse
    Preparing search index...

    Function default

    • Return the completed schema immediately when every invoked callback is synchronous.

      Parameters

      Returns JSONSchema

    • Return a promise only when an invoked callback returns a promise or thenable. Callbacks run sequentially; each resolved result is applied before continuing. Errors throw before the first promise and reject after it. Mutable edits are not rolled back.

      Parameters

      Returns JSONSchema | Promise<JSONSchema>