void (final @Nullable Consumer<? super List<CommittedChangeList>> consumer, final boolean inBackground) { debug("Loading incoming changes"); final Runnable task = () -> { final List<CommittedChangeList> list = loadIncomingChanges(inBackground); if (consumer != null) { consumer.consume(new ArrayList<>(list)); } }; myTaskQueue.run(task); }