NestJS · Senior · Question 32 of 75

Why should errors in event handlers (@OnEvent) be handled carefully?

Explanation

For important side effects, emit to a queue instead of relying on in-memory events.

Further reading

Problem with a question

NestJS · Senior · question 32

Test yourself

Take the NestJS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz