States
public enum States : Equatable
Defenition of States that are used by all members of the SDK, indicating the connection and lifecycle of gRPC calls
-
No state or disposed
Declaration
Swift
case none
-
There is an ongoing gRPC call
Declaration
Swift
case running
-
The gRPC call has not started yet, but is about to
Declaration
Swift
case connecting
-
The gRPC call has finished and the object shall be disposed
Declaration
Swift
case finished
-
The gRPC call has failed with a status
Declaration
Swift
case failed(_: GRPCStatus)
-
The gRPC call has thrown an error
Declaration
Swift
case error(_: Error)