Interface for data processing components that can get data items.
Description
The IGetter interface is used by data processing components that are capable of getting data items.
Instance methods
getOneById
Gets a data item by its unique id.
Future<T> getOneById(IContext context, K id)
- context: IContext - (optional) a context to trace execution through a call chain.
- id: K - id of the item to be retrieved.
- returns: Future<T> - returned item.