Table of Contents

Class ReplayLatestSubjectCreationOptions

Namespace
ReactiveUI.Extensions.Async.Subjects
Assembly
ReactiveUI.Extensions.dll

Represents configuration options for creating a replay-latest subject, controlling publishing behavior and state retention.

public sealed record ReplayLatestSubjectCreationOptions : IEquatable<ReplayLatestSubjectCreationOptions>
Inheritance
ReplayLatestSubjectCreationOptions
Implements
Extension Methods

Remarks

Use this type to specify how a replay-latest subject should handle message publishing and whether it maintains state. The options provided affect how subscribers receive messages and whether the subject retains the latest value. This type is immutable and can be used to configure subject creation in a thread-safe manner.

Constructors

ReplayLatestSubjectCreationOptions()

public ReplayLatestSubjectCreationOptions()

Properties

Default

Gets the default configuration options for creating a ReplayLatestSubject instance.

public static ReplayLatestSubjectCreationOptions Default { get; }

Property Value

ReplayLatestSubjectCreationOptions

Remarks

The default options specify serial publishing and stateful behavior. Use this property to obtain a baseline configuration that can be modified as needed.

IsStateless

Gets a value indicating whether the object is stateless.

public required bool IsStateless { get; init; }

Property Value

bool

PublishingOption

Gets the publishing option to use when processing this item.

public required PublishingOption PublishingOption { get; init; }

Property Value

PublishingOption

Methods

Equals(ReplayLatestSubjectCreationOptions?)

public bool Equals(ReplayLatestSubjectCreationOptions? other)

Parameters

other ReplayLatestSubjectCreationOptions

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ReplayLatestSubjectCreationOptions?, ReplayLatestSubjectCreationOptions?)

public static bool operator ==(ReplayLatestSubjectCreationOptions? left, ReplayLatestSubjectCreationOptions? right)

Parameters

left ReplayLatestSubjectCreationOptions
right ReplayLatestSubjectCreationOptions

Returns

bool

operator !=(ReplayLatestSubjectCreationOptions?, ReplayLatestSubjectCreationOptions?)

public static bool operator !=(ReplayLatestSubjectCreationOptions? left, ReplayLatestSubjectCreationOptions? right)

Parameters

left ReplayLatestSubjectCreationOptions
right ReplayLatestSubjectCreationOptions

Returns

bool