tonarino / actor

A minimalist actor framework aiming for high performance and simplicity.
MIT License
40 stars 6 forks source link

Make all fields of Context private, accessible through getters? #56

Open strohel opened 3 years ago

strohel commented 3 years ago

Mentioned by @skywhale in https://github.com/tonarino/actor/pull/53#discussion_r635802296 CC @bschwind.

It would be certainly more locally consistent as the receive_timeout field is already private on purpose. It would cause some churn for crate users, but better sooner than later?

Note that Context is no longer user-constructible after merging #53.