Type alias WriterFunc<T>

WriterFunc<T>: ((items) => Promise<void>)

Type Parameters

  • T

    Type of items to be written

Type declaration

    • (items): Promise<void>
    • Function that writes items to a destination

      Parameters

      • items: T[]

        Items to be written

      Returns Promise<void>

      Result of writing items

Generated using TypeDoc