disconnect

abstract suspend fun disconnect()

Disconnects the active connection, or cancels an in-flight connection attempt, suspending until Peripheral has settled on a disconnected state.

Multiple concurrent invocations will all suspend until disconnected (or failure occurs).