We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At present, CkbRpcClient is blocking:
CkbRpcClient
blocking
ckb-sdk-rust/src/rpc/mod.rs
Line 51 in c45c4dc
The docs of reqwest said, tokio::task::spawn_blocking is required.
reqwest
tokio::task::spawn_blocking
When use CkbRpcClient in a async code block directly, it causes:
Cannot drop a runtime in a context where blocking is not allowed. This happens when a runtime is dropped from within an asynchronous context.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At present,
CkbRpcClient
isblocking
:ckb-sdk-rust/src/rpc/mod.rs
Line 51 in c45c4dc
The docs of
reqwest
said,tokio::task::spawn_blocking
is required.When use
CkbRpcClient
in a async code block directly, it causes:The text was updated successfully, but these errors were encountered: