fetchLastClientState(completionHandler:)
Fetches the app’s most recent client state information asynchronously.
Declaration
func fetchLastClientState(completionHandler: @escaping @Sendable (Data?, (any Error)?) -> Void)func fetchLastClientState() async throws -> DataParameters
- completionHandler:
The block to call when the request has been journaled by the index, which means that the index makes a note that it has to perform this operation. Note that the request may not have completed.
The block receives the following parameter:
- error
If an error occurred, this parameter holds an error object that explains the error. Otherwise, the value of this parameter is
nil.