commit

suspend fun commit()

Runs a data update, returning once the update is complete. If there’s already an update in progress, the current coroutine is first suspended until the ongoing update’s completion. An update is complete once a new CartesianChartModel has been generated, and the CartesianChart hosts have been notified.