Skip to content

Guidance around imlementing callbacks with custom deno embedding #27504

Answered by bartlomieju
Yohe-Am asked this question in Q&A
Discussion options

You must be logged in to vote

There's no built-in mechanism for this right now. When a promise rejects, it goes through machinery in deno_core that allows the unhandled rejection to be handled by callbacks like onunhandledrejection or process.on("unhandledRejection").

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Yohe-Am
Comment options

@bartlomieju
Comment options

Answer selected by Yohe-Am
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants