typesense / typesense-swift

Swift Client for Typesense ⚡️🔎
https://typesense.org/docs/
Apache License 2.0
39 stars 16 forks source link

Non async version #15

Closed paulsUsername closed 2 years ago

paulsUsername commented 2 years ago

Description

My app supports back to iOS 11 so I am not using async-await yet. Is it possible to use this package without async await?

DominiCanes commented 2 years ago

I have the exact same question

programVeins commented 2 years ago

Hey @paulsUsername, @DominiCanes 👋🏽 at the moment, typesense-swift only supports iOS 13 and above with swift modern concurrency, so there is technically no way to use this package without async-await 😢 We might bring callback oriented architecture to the framework but not in the near-future.

You can checkout the Typesense Documentation for more information on how Typesense generally works.