In HTTPFetcher
line77: completion(result.map { _ in }.mapError { ResourceError.wrap($0) })
there's error: Expression is 'async' but is not marked with 'await'
and HTTPClient
line36: return response
there's error: Expression is 'async' but is not marked with 'await'
Describe the bug
In HTTPFetcher line77: completion(result.map { _ in }.mapError { ResourceError.wrap($0) }) there's error: Expression is 'async' but is not marked with 'await'
and HTTPClient line36: return response there's error: Expression is 'async' but is not marked with 'await'
How to reproduce?
I just use SPM to use swift-toolkit
Readium version
develop
OS version
iOS 18
Testing device
iPhone 14Pro
Environment
Additional context
No response