setEntriesSuspending

suspend fun setEntriesSuspending(entries: List<List<ChartEntry>>, updateExtras: (MutableExtraStore) -> Unit = {}): Deferred<Unit>
suspend fun setEntriesSuspending(vararg entries: List<ChartEntry>, updateExtras: (MutableExtraStore) -> Unit = {}): Deferred<Unit>

Updates the data set. Unlike setEntries, this function suspends the current coroutine and waits until an update can be run, meaning the update cannot be rejected. The returned Deferred implementation is marked as completed once the update has been processed. updateExtras allows for adding auxiliary data, which can later be retrieved via ChartEntryModel.extraStore.