CombineWrapper
public final class CombineWrapper : WebcomWrapper, Hashable, CustomStringConvertible, CustomDebugStringConvertible
The type that wraps WebcomApplication
in order to enrich it with a Combine-based API.
See also the documentation section of WebcomWrapper
for the corresponding wrapped type.
To use this type, import the following dependency in your code:
import WebcomCombine
-
Declaration
Swift
public let wrapped: WebcomApplication
-
The Authentication service for this application.
There is only one instance of
AuthenticationService
class for each application. Distinct applications do not shareAuthenticationService
instances. Calling this property multiple times always returns the same instance. The first time this property is called for a given application, the instance is initialized and it is stored in the application. On subsequent calls to this property, the stored instance is returned.Declaration
Swift
public var authenticationService: AuthenticationService.CombineWrapper { get }
-
The Data service for this application.
There is only one instance of
DataService
class for each application. Distinct applications do not shareDataService
instances. Calling this property multiple times always returns the same instance. The first time this property is called for a given application, the instance is initialized and it is stored in the application. On subsequent calls to this property, the stored instance is returned.Declaration
Swift
public var dataService: DataService.CombineWrapper { get }
-
The Datasync service for this application.
There is only one instance of
DatasyncService
class for each application. Distinct applications do not shareDatasyncService
instances. Calling this property multiple times always returns the same instance. The first time this property is called for a given application, the instance is initialized and it is stored in the application. On subsequent calls to this property, the stored instance is returned.Declaration
Swift
public var datasyncService: DatasyncService.CombineWrapper { get }