syncDataToCache

abstract fun syncDataToCache(success: (Boolean) -> Unit = {})

Fetch in memory events and push all the events to disk

Parameters

success

Lambda(Boolean) to invoke after successful write to disk