add async feature #1

Merged
b4tman merged 62 commits from async into master 2023-08-18 06:29:46 +00:00
Showing only changes of commit 33abc15268 - Show all commits

View File

@ -145,7 +145,7 @@ async fn main() {
}
async fn read_from_db(id: u32) -> Option<Question> {
let reader: async_db::Reader<Question> = async_db::Reader::new(NEW_DB_FILENAME, 2048)
let reader: async_db::Reader<Question> = async_db::Reader::new(NEW_DB_FILENAME)
.await
.expect("new db reader");