mozilla-services / syncstorage-rs

Sync Storage server in Rust
Mozilla Public License 2.0
894 stars 49 forks source link

Convert Db::extract_resource to async/await #1494

Open data-sync-user opened 10 months ago

data-sync-user commented 10 months ago

The default implementation of Db::extract_resource doesn’t use async/await. The core of this method should be converted to an async {} block so it can utilize async/await for better readability (as we’ve already done for e.g. many of the extractors).

┆Issue is synchronized with this Jira Task