SharingCommand

enum SharingCommand : Enum<SharingCommand>

A command emitted by SharingStarted implementations to control the sharing coroutine in the shareIn and stateIn operators.

Entries

STOP_AND_RESET_REPLAY_CACHE
Link copied to clipboard
common
Stops sharing, cancelling collection of the upstream flow, and resets the SharedFlow.replayCache to its initial state.
STOP
Link copied to clipboard
common
Stops sharing, cancelling collection of the upstream flow.
START
Link copied to clipboard
common
Starts sharing, launching collection of the upstream flow.

Sources

common source
Link copied to clipboard