Content-Length: 298000 | pFad | https://github.com/flutter/flutter/issues/149621

A1 Tool implementation doesn't handle `ParallelWaitError` · Issue #149621 · flutter/flutter · GitHub
Skip to content

Tool implementation doesn't handle ParallelWaitError #149621

@parlough

Description

@parlough

The new Iterable<Future>.wait and Record<Future, ...>.wait extensions are really great, particularly records allowing you to maintain type safety when waiting to resolve different types at once.

They can't be used across some of the Flutter tool's implementation though, as the tool's error handling doesn't account for the ParallelWaitError awaiting them can throw.

I expect/hope these methods to eventually completely supersede Future.wait, so it would be good to add support to the tool's error handling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: tech-debtTechnical debt, code quality, testing, etc.team-toolOwned by Flutter Tool teamtool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/flutter/flutter/issues/149621

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy