ActionShareBehavior
An class representing how MVIAction sharing will be handled in the ActionProvider. There are 4 possible behaviors, which will be different depending on your use-case. When in doubt, use the default one, and change if you have issues.
See also
Inheritors
Types
Designates that MVIActions are disabled entirely. Attempting to consume or send an action will throw.
Fan-out (distribute) behavior means that multiple subscribers are allowed, and each action will be distributed to one subscriber. If there are multiple subscribers, only one of them will handle an instance of an action, and the order is unspecified.
Restricts the count of subscription events to 1. Attempting to subscribe to a store that has already been subscribed to will result in an exception. In other words, you will be required to create a new store for each invocation of Store.subscribe.
Actions will be distributed to all subscribers equally. Each subscriber will receive a reference to a single instance of the action that was sent from any store. Use when you want to have multiple subscribers that each consume actions. Be aware that, however, if there's at least one subscriber, they will consume an action entirely (i.e. other subscribers won't receive it when they "return" if they weren't present at the time of emission).