JinagaStatus

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.

Properties

IsLoading

bool IsLoading { get; }

Indicates whether the client is currently loading facts from the remote replicator.

Returns:

  • true if the client is loading facts, otherwise false.

LastLoadError

Exception LastLoadError { get; }

The last error that occurred while loading facts from the remote replicator.

Returns:

  • An Exception if an error occurred during loading, otherwise null.

IsSaving

bool IsSaving { get; }

Indicates whether the client is currently saving facts to the remote replicator.

Returns:

  • true if the client is saving facts, otherwise false.

LastSaveError

Exception LastSaveError { get; }

The last error that occurred while saving facts to the remote replicator.

Returns:

  • An Exception if an error occurred during saving, otherwise null.

QueueLength

int QueueLength { get; }

The number of facts currently queued to be saved to the remote replicator.

Returns:

  • The number of facts in the save queue.

AuthenticationState

JinagaAuthenticationState AuthenticationState { get; }

The current state of user authentication.

Returns:

  • A 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.

Continue With

Jinaga is a product of Jinaga LLC.

Michael L Perry, President