SideEffectMode

Controls how side effects are delivered to collectors.

Entries

Link copied to clipboard

Each side effect is delivered to exactly one collector (fan-out). Cached side effects are consumed by the first collector that connects. If multiple collectors are active at the same time they will silently compete for events.

Link copied to clipboard

Each side effect is delivered to exactly one collector (fan-out). Cached side effects are consumed by the first collector that connects. Prevents multiple collectors from silently competing for side effect events: a second collector receives an IllegalStateException.

Link copied to clipboard

Side effects are broadcast to all active collectors. Cached side effects are replayed to all collectors when they reconnect. The replay cache is cleared shortly after subscribers reconnect to prevent stale replay.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.