NetrexMC / RakNet

RakNet implementation in Rust
Apache License 2.0
44 stars 12 forks source link

feat: Event-loop #36

Closed john-bv closed 1 year ago

john-bv commented 1 year ago

The server needs to be able to communicate certain events to each connection, and vice-versa, for instance, when a state is updated, the server should be notified of this change. Other minor things to consider are things like motd generation and session closures.

This issue is tracking a new way to implement this on both async-std and tokio with the same api.

john-bv commented 1 year ago

This issue is stale, and no longer relevant in the current solution of raknet. You can opt into Connection Motd regeneration  by Connection::regenMotd(), which is a listener that returns a channel for piping the newer Motd to.