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

feat: v9 - async/await #1664

Merged
merged 13 commits into from
Sep 16, 2023
Merged

feat: v9 - async/await #1664

merged 13 commits into from
Sep 16, 2023

Conversation

joeyguerra
Copy link
Member

@joeyguerra joeyguerra commented Aug 23, 2023

#1658
BREAKING CHANGE: Robot, Adapter and Response APIs have been replaced with async/await versions. The async module was removed.

The async module was used to execute listeners and middleware, which enabled them to execute after the current call stack finished executing. This is no longer the behavior. Now, listeners and middleware execute in order of registration and as part of the currently executing call stack. In other words, Hubot no longer implements the concept of "unwinding the stack". Listeners and middleware are executed with async/await instead. They are no longer executed with process.nextTick.

@joeyguerra joeyguerra mentioned this pull request Aug 13, 2023
23 tasks
@joeyguerra joeyguerra merged commit a4c2ec8 into main Sep 16, 2023
5 checks passed
@joeyguerra joeyguerra deleted the return-results-from-adapter-api branch September 16, 2023 21:05
@github-actions
Copy link

🎉 This PR is included in version 8.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

1 participant