Skip to content

Adapt classes with isolates #1867

@AlexV525

Description

@AlexV525

Request Statement

flutter/flutter#126520 (comment)

Recent versions of the Dart SDK have tightened the rules for which objects can be sent across isolates (see https://api.dart.dev/stable/3.0.0/dart-isolate/SendPort/send.html and dart-lang/sdk@67683c39)

Classes might cause unsendable issues when passing through isolates. Someone reported that MultipartFile is not sendable which fails the runtime.

image

Solution Brainstorm

Make those classes sendable, or figure out ways to handle them in isolates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    i: wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions