Skip to content

Consider using Send futures #79

@SuperKenVery

Description

@SuperKenVery

Summary

Can we consider using Send futures in this library?

Is it possible to use Send futures in the acp rust sdk instead?

Description

Currently the acp library gives !Send futures for us to spawn, which doesn't play well with the rest of the tokio ecosystem. Many crates use Send futures and use tokio::spawn, requiring channels to communicate between.

Expected Behavior: Futures are Send
Actual Behavior: Futures are !Send

ACP Version

0.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions