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

Can't pause action queue while delay action is running #1

Open
scriptorum opened this issue Jun 14, 2016 · 0 comments
Open

Can't pause action queue while delay action is running #1

scriptorum opened this issue Jun 14, 2016 · 0 comments

Comments

@scriptorum
Copy link
Owner

The Pause() method is not really callable from outside an action, as it's used as an internal flag to indicate an asynchronous is currently busy and not finished. A user might think they could trigger Pause() from an input event, for example, but it would have no effect if, say, Delay() were currently running. Ideally Pause() will be available as an external method to freeze the action in place.

This could be supported by allowing actions to define their own custom OnPause function, and using a separate internal function for indicating the queue is still busy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant