Open ghost opened 7 years ago
What are you thinking would be your use case for async logic? Also in regards to testing, it's kinda tough right now (but we're going to improve how that works).
Some thoughts:
Sync
alternatives, but on npm it's the wild west.I suppose... JavaScript at heart is async, and restricting it to sync doesn't feel free.
Totally agree! We're going to most likely pass a callback function to your bot. Will update this issue once we add it!
BEFORE SUBMITTING AN ISSUE CHECK THE FOLLOWING:
FEATURE REQUEST
- Describe the feature you would like to see Would be neat to support promises so we can use async logic in our events. - Why you need it See comments below - How it should work Something like this: