Open
Description
Feature Request:
I'd like to request a "Force Queue" feature for tasks. This feature would allow users to specify that tasks should be executed in a sequential manner, with each task waiting for the previous one to complete before starting.
Here's a possible implementation:
- Add a new option to the task creation menu: "Force Queue" (or a similar name).
- When "Force Queue" is enabled, the bot should execute tasks in a sequential manner, waiting for each task to complete before starting the next one.
- If a task fails or is cancelled, the bot should skip it and move on to the next task in the queue.
Benefits:
The "Force Queue" feature would provide several benefits:
- Improved task management: Users would have more control over the order in which tasks are executed.
- Reduced errors: By executing tasks sequentially, the bot would reduce the likelihood of errors caused by concurrent task execution.
- Increased flexibility: The "Force Queue" feature would allow users to adapt the bot to their specific use cases, where task execution order is critical.
I believe the "Force Queue" feature would be a valuable addition to the MLTB Telegram bot. It would provide users with more control over task execution and improve the overall reliability of the bot.