command
abstract fun command(subscriptionCount: StateFlow<Int>): Flow<SharingCommand>
Content copied to clipboard
Transforms the subscriptionCount state of the shared flow into the flow of commands that control the sharing coroutine. See the SharingStarted interface documentation for details.
Sources
common source
Link copied to clipboard