riker-rs / riker

Easily build efficient, highly concurrent and resilient applications. An Actor Framework for Rust.
https://riker.rs
MIT License
1.02k stars 69 forks source link

Message types with generics #154

Closed elenaf9 closed 3 years ago

elenaf9 commented 3 years ago

As far as I know, it is currently not possible to use message with generics within the actor proc macro.

It would be great if something like this would possible:

#[actor(Foo, Bar<T>)]
struct MyActor;
elenaf9 commented 3 years ago

Solved with #155