Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Custom Future implementation #5

Open
TheChilliPL opened this issue Apr 18, 2023 · 1 comment
Open

[Feature] Custom Future implementation #5

TheChilliPL opened this issue Apr 18, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@TheChilliPL
Copy link
Owner

To make it possible to have many queued actions with a different algorithm with the default JavaScript FIFO event queue with Promises, a custom Future implementation could be provided.

It could have several useful features.

  • Not starting automatically upon creating the object
  • Using custom schedulers that could accept parameters, and thus allow more control over which actions are prioritized
  • With a derived class, a CancelableFuture could be implemented, which could allow cancelling any action not yet finished.
@TheChilliPL TheChilliPL added the enhancement New feature or request label Apr 18, 2023
@TheChilliPL TheChilliPL self-assigned this Apr 18, 2023
@TheChilliPL TheChilliPL added the help wanted Extra attention is needed label Jul 17, 2023
@TheChilliPL
Copy link
Owner Author

Despite the unit tests passing, the implementation in 387e670 seems to crash the bot…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant