The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

Node.js/Promises use cases survey
32 responses
Loading...
Loading responses…
Are you currently using promises?
Copy chart
No responses yet for this question.
If you're not using promises, why?
No responses yet for this question.
Are you currently using async/await?
Copy chart
No responses yet for this question.
If you're not using async/await, why?
No responses yet for this question.
What promises implementation are you using?
Copy chart
No responses yet for this question.
Which type of JavaScript runtime are you using?
Copy chart
No responses yet for this question.
Are you using promises in customer facing, production applications?
Copy chart
No responses yet for this question.
Do you differentiate between fatal (e.g. access property of undefined object) and non-fatal (e.g. connection timeout)  errors when rejecting promises?
Copy chart
No responses yet for this question.
Do you use different Error sub-classes to differentiate between different classes of errors (fatal vs non-fatal, operational vs programmer errors, etc.)?
Copy chart
No responses yet for this question.
What mechanism do you use to reject promises?
Copy chart
No responses yet for this question.
If you use both mechanisms above for different use cases, is this always a deliberate choice?
Copy chart
No responses yet for this question.
Do you always attach a "catch" handler on promises?
Copy chart
No responses yet for this question.
If you always attach a "catch" handler on promises, do you enforce that (e.g. at build time using a linter)?
Copy chart
No responses yet for this question.
Do you *asynchronously* attach catch handlers on promises?
Copy chart
No responses yet for this question.
What static analysis tool(s) (linter, linter module, etc.) do you use to enforce best practices when using promises?
No responses yet for this question.
When a rejected promise doesn't have a catch handler, what is the behavior of your application today?
Copy chart
No responses yet for this question.
When a rejected promise doesn't have a catch handler, what would you like the behavior of your runtime to be?
Copy chart
No responses yet for this question.
If Node.js always exited when a promise is rejected and doesn't have a catch handler, would that be an acceptable behavior?
Copy chart
No responses yet for this question.
Do you add custom event handlers to the Node.js "unhandledRejection" event?
Copy chart
No responses yet for this question.
If you add custom event handlers to the 'unhandledRejection' event, what do those handlers do?
No responses yet for this question.
Do you add custom event handlers to the Node.js "uncaughtException" event?
Copy chart
No responses yet for this question.
If you add custom event handlers to the 'uncaughtException' event, what do those handlers do?
No responses yet for this question.
Have you encountered any unexpected behavior (resources leaks, hard to find bugs, performance issues, etc.) in your application that was due to a rejected promise without a catch handler?
Copy chart
No responses yet for this question.
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy

Does this form look suspicious? Report

.