You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the async-await start implementation is a wrapper for the asynchronous completion handler start function. It resumes when the data file is downloaded, but discards the file data.
A simple change would be to make start return Data and replace
case .success:
continuation.resume()
with
case .success(let datafile):
continuation.resume(returning: datafile)
Benefits
This will simplify SDK usage in modern Swift code
Detail
No response
Examples
No response
Risks/Downsides
No response
The text was updated successfully, but these errors were encountered:
Description
Currently the async-await
start
implementation is a wrapper for the asynchronous completion handlerstart
function. It resumes when the data file is downloaded, but discards the file data.A simple change would be to make
start
return Data and replacewith
Benefits
This will simplify SDK usage in modern Swift code
Detail
No response
Examples
No response
Risks/Downsides
No response
The text was updated successfully, but these errors were encountered: