Type alias CallbackAsync

CallbackAsync: ((dirTree: Dree, stat: Stats) => void | Promise<void>)

Type declaration

    • (dirTree: Dree, stat: Stats): void | Promise<void>
    • Callback used by scanAsync when a file or dir is encountered

      Parameters

      • dirTree: Dree
      • stat: Stats

      Returns void | Promise<void>

Generated using TypeDoc