The JinagaStatus
type provides information about Jinaga background processes, such as the current state of fact loading, saving, and the authentication status of the client.
bool IsLoading { get; }
Indicates whether the client is currently loading facts from the remote replicator.
true
if the client is loading facts, otherwise false
.Exception LastLoadError { get; }
The last error that occurred while loading facts from the remote replicator.
Exception
if an error occurred during loading, otherwise null
.bool IsSaving { get; }
Indicates whether the client is currently saving facts to the remote replicator.
true
if the client is saving facts, otherwise false
.Exception LastSaveError { get; }
The last error that occurred while saving facts to the remote replicator.
Exception
if an error occurred during saving, otherwise null
.int QueueLength { get; }
The number of facts currently queued to be saved to the remote replicator.
JinagaAuthenticationState AuthenticationState { get; }
The current state of user authentication.
JinagaAuthenticationState
enum indicating whether the user is authenticated, not authenticated, or the authentication has expired.The possible states are:
NotAuthenticated
: Indicates that the user is not authenticated.Authenticated
: Indicates that the user is authenticated.AuthenticationExpired
: Indicates that the user's authentication has expired, and they need to log in again.