What is better way to read from archive with d2japi

#1

There are two similar methods in D2Session called getArchiveData. Which one is better?

#2

Hello,

both methods are good and it depends on your situation which one serves you better.
That one returning FutureEvent is meant for synchronous waiting in single thread, which is easier to write.
That second one with ArchiveDataListener dataListener parameter allows for better performance with asynchronous data processing.