Skip to content

anyspawn: allow scheduling blocking work #361

@martintmk

Description

@martintmk

We need a way to schedule a blocking work using anyspawn. The idea is to introduce something akin to Spawner::spawn_blocking that accepts a synchronous lambda and returns JoinHandle. This is additional feature on top of #351 that would make anyspawn truly universal abstraction around async runtimes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions