ISetter<T>

Interface for data processing components that can set (create or update) data items.

Description

The ISetter interface is used by data processing components that can set (create or update) data items.

Instance methods

set

Sets a data item. If the data item exists it updates it, otherwise it creates a new data item.

set(context: IContext, item: T): Promise<T>

  • context: IContext - (optional) a context to trace execution through a call chain.
  • item: T - item to be set.
  • returns: Promise<T> - updated item