src/core/api-next/item-list-update.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { ItemListUpdate } from "../../api-next/common/item-list-update";

/**
 * @internal
 *
 * Implementation for the DataUpdate interface.
 */

export class IBApiNextItemListUpdate<T> implements ItemListUpdate<T> {
  constructor(
    public readonly all: T,
    public readonly added?: T,
    public readonly changed?: T,
    public readonly removed?: T,
  ) {}
}