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
Currently using tokio with contellation is a bit unwieldy:
fn main() { init(Resources::default()); tokio::runtime::Builder::new() .threaded_scheduler() .enable_all() .build() .unwrap() .block_on(async { ... }) }
It could become:
#[constellation::main] #[tokio::main] async fn main() { ... }
Or
#[constellation::tokio::main] async fn main() { ... }
Or just this if we specialise on tokio?
#[constellation::main] async fn main() { ... }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently using tokio with contellation is a bit unwieldy:
It could become:
Or
Or just this if we specialise on tokio?
The text was updated successfully, but these errors were encountered: