Skip to content

IStateHost.ShouldPersistState property

Defined in

Type: IStateHost Namespace: ReactiveMarbles.Mvvm Assembly: ReactiveMarbles.Mvvm.dll

Applies to

net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.0

IObservable<IDisposable> ShouldPersistState { get; set; }

Summary: Gets or sets the observable which signals when the application should persist its state to disk.

Returns: IObservable

Value: Returns an IDisposable that should be disposed once the application finishes persisting its state.