Skip to content

Any chance of implementing let! ... and! ... #7

@pkese

Description

@pkese

While I'm not sure if I understand that correctly,

it would be nice to be able to launch tasks in parallel using and! notation rather than launching them separately and then do! Task.WhenAll ...

i.e., instead of:

    let task1 = launchTask1()
    let task2 = launchTask2()

    do! Task.WhenAll [| task1 :> Task; task2 :> Task |]

    let! result1 = task1
    let! result2 = task2

i'd prefer to write:

    let! result1 = launchTask1()
    and! result2 = launchTask2()

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