feather-rs / lieutenant

Command dispatcher for Rust based on Mojang's Brigadier
Apache License 2.0
2 stars 4 forks source link

Async #3

Closed Defman closed 4 years ago

Defman commented 4 years ago

The following trait should be async

Dispatching of commands should be async as well.

caelunshun commented 4 years ago

One issue is that traits do not yet support async fns, which is going to make this a whole lot more difficult.

Redrield commented 4 years ago

Would async-trait work as a stop-gap to let this move forward, and then remove it in future when async fn in traits is accepted?

Defman commented 4 years ago

2 Resolves this issue