checkAndFireCallback

open suspend override fun checkAndFireCallback(cachedData: ClanWar, currentData: ClanWar, callback: Callback<ClanWar, ClanWarAttack, Nothing>)

Abstract function to check and trigger a callback based on the provided data and callback.

Parameters

cachedData

The cached data of type DataType to be compared.

currentData

The current data of type DataType to be compared.

callback

The callback function to be invoked when the event occurs.