Skip to main content
API Reference NSDK

NSDKAsyncState

Reports the state of an asynchronous NSDK operation.

Declaration

enum NSDKAsyncState<Value, Error> where Error : Error

Cases

NameTypeSummary
case failureError)
The asynchronous operation has failed with an error.
case inProgressValue?)
The asynchronous operation is currently in progress.
The associated value may contain a partial result if available.
case notReadynotReady
Deprecated – use inProgress instead.
case successValue)
The asynchronous operation has completed successfully with a result.

Properties

NameTypeSummary
var isFinishedBool
Indicates whether the asynchronous operation has finished