Client:commands: Support for async commands #809
Labels
Complexity: 3 - High
Tasks that require significant (architectural) changes. A Lead Developer should participate.
Component: Client
Changes to client side of things
Type: Improvement
Improvement of existing feature
Currently the commands framework only allows for synchronous handlers. It might be beneficial to expand this support to asynchronous code. Example usage might be waiting with commands completion until appearance action it triggers succeeded before reporting the result.
Parts of commands framework that should support async operations:
The chat input should be frozen while the command/autocomplete is running with visual indication that there is progress if it takes longer than half a second. There should also be rather short timeout on the command (e.g. 10 seconds).
The text was updated successfully, but these errors were encountered: