Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISaver<T>

Interface for data processing components that save data items.

Type parameters

  • T

Hierarchy

  • ISaver

Implemented by

Index

Methods

Methods

save

  • save(correlation_id: string, items: T[], callback?: function): void
  • Saves given data items.

    Parameters

    • correlation_id: string

      (optional) transaction id to trace execution through call chain.

    • items: T[]
    • Optional callback: function

      (optional) callback function that receives error or null for success.

        • (err?: any): void
        • Parameters

          • Optional err: any

          Returns void

    Returns void

Generated using TypeDoc