Signature for a callback function that is called when items are inserted.
typedef InsertAllCallback<T> = void Function(List<T> currentItems, Iterable<T> newItems);