grpc / grpc/grpc-rust

Single threaded server example with `async_trait(?Send)`

Open
#2,171 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
12.5k
Forks
1.3k
Avg merge
4d 7h
Merged PRs (30d)
24

Description

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`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.