The Wayback Machine - https://web.archive.org/web/20201020202840/https://github.com/topics/await
Skip to content
#

await

Here are 403 public repositories matching this topic...

coobjc provides coroutine support for Objective-C and Swift. We added await method、generator and actor model like C#、Javascript and Kotlin. For convenience, we added coroutine categories for some Foundation and UIKit API in cokit framework like NSFileManager, JSON, NSData, UIImage etc. We also add tuple support in coobjc.

  • Updated May 29, 2020
  • Objective-C
DanCardin
DanCardin commented Sep 29, 2020

Full Error:

thread 'main' panicked at 'can call blocking only when running on the multi-threaded runtime', /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/macros.rs:13:23

Minimal app:

use actix_web::{App, HttpServer};
use sqlx::sqlite::SqlitePool;

#[actix_web::main]
async fn main() -> std::io::Result<()> {
    SqlitePool::connect("sqlite://foo").await.unwrap();

Improve this page

Add a description, image, and links to the await topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the await topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.