syncDataFromCache

abstract fun syncDataFromCache(success: (Boolean, List<Event>) -> Unit = { _, _ -> })

Fetch events from the disk

Parameters

success

Lambda(Boolean, List of Event) to invoke after successful fetch from disk