Skip to content

Single threaded server example with async_trait(?Send) #2171

@cavemanloverboy

Description

@cavemanloverboy

There are zero examples of anything using #[tonic::async_trait(?Send)]. Can we fix this?

I'm having trouble trying to build a single-threaded server using tokio's current_thread runtime because the autogenerated traits for the service have Send + Sync

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