docs: public CompletableFuture<Void> compact() {
      ComposableFuture<Void> future = new ComposableFuture<>();
      threadContext.execute(() -> stateMachine.compact().whenComplete(future));
      return future;
    }