Skip to content

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

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()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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