Skip to content

SyncClient hangs #48

@hangj

Description

@hangj

The async Client works just fine, but the following SyncClient hangs:

#[tokio::main(flavor = "current_thread")]
async fn main() -> anyhow::Result<()> {
    let db = libsql_client::SyncClient::from_env()?;
    let response = db.execute("SELECT * FROM users")?;

    println!("{:?}", response);

    Ok(())
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions