You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem description
enter the examples dir, and run: cargo run --example event_write_and_read
then get some error:
Running ~/pravega-client-rust/target/debug/examples/event_write_and_read
thread 'main' panicked at 'Cannot start a runtime from within a runtime. This happens because a function (like block_on) attempted to block the current thread while the thread is being used to drive asynchronous tasks.'
Problem location
there are many async and block_on in the async main function.
Suggestions for an improvement
correct the async and block_on combine in sub-crate or example.
The text was updated successfully, but these errors were encountered:
Problem description
enter the examples dir, and run:
cargo run --example event_write_and_read
then get some error:
Running
~/pravega-client-rust/target/debug/examples/event_write_and_read
thread 'main' panicked at 'Cannot start a runtime from within a runtime. This happens because a function (like
block_on
) attempted to block the current thread while the thread is being used to drive asynchronous tasks.'Problem location
there are many async and block_on in the async main function.
Suggestions for an improvement
correct the async and block_on combine in sub-crate or example.
The text was updated successfully, but these errors were encountered: