Crate tasky

source ·
Expand description

fluent async task experiments

Read more about it in the post on postfix spawn. This is an experiment in moving the design of tasks from a model where “tasks are async threads” to a model where“tasks are parallel futures“.

This means tasks will no longer start unless explicitly .awaited, dangling tasks become a thing of the past, and by default async Rust will act structurally concurrent.


use tasky::prelude::*;
async_std::task::block_on(async {
    let res = async { "nori is a horse" }
    assert_eq!(res, "nori is a horse");


The tasky prelude.


Task builder that configures the settings of a new task.
A handle representing a task.


Extend the Future trait.