Skip to content

gc send async #183

@wmaslonek

Description

@wmaslonek

When trying to use the GC API within an async task, I encountered a compilation error because the future is not Send.
Some internal components of the GC streams use non-Send types, such as Rc<Cell<...>>, internally within the GC streams, making it impossible to use the GC APIs in async Send contexts.
This prevents the direct use of the GC API in any multithreaded async context that requires Send bounds, which is very common.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions