collectTo
Collects a Flow of T and notifies any subscribed com.splendo.kaluga.bluetooth.ConnectedDevice of any changes. Results in a call to notifiable that may only be called once
Parameters
the CoroutineScope to use to collect the Flow
the SharingStarted to use to collect the Flow
the number of values to replay to new subscribers
the NotificationDSL to use to set up notification
Type Parameters
the type of the data being collected
Collects a SharedFlow of T and notifies any subscribed com.splendo.kaluga.bluetooth.ConnectedDevice of any changes. Results in a call to notifiable that may only be called once
Parameters
the CoroutineScope to use to collect the Flow
the NotificationDSL to use to set up notification
Type Parameters
the type of the data being collected
Collects a StateFlow of T and notifies any subscribed com.splendo.kaluga.bluetooth.ConnectedDevice of any changes. Results in a call to notifiable that may only be called once
Parameters
the CoroutineScope to use to collect the Flow
the NotificationDSL to use to set up notification
Type Parameters
the type of the data being collected