onDisconnect

abstract suspend fun onDisconnect()

Handles the disconnection process of a data source.

Use this method to perform operations that stop the flow of data from an underlying data source.

Since

200.2.0

Throws

if an error occurs while stopping the flow of data. The connection status will change to ConnectionStatus.Failed