Skip to content

Converting continuable futures into shared futures #126

Description

@griwes

This issue was raised by @hkaiser in the SG1 discussion.

I believe that one way to do this is have separate promise contracts that guarantee getting shared futures instead of unique futures, and then providing a free function that takes a continuable future, uses the shared contracts on its executor, and then attaches a continuation that fulfills the shared promise and then returns the shared future. I'll try to draft an example later.

cc @LeeHowes @dhollman

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions