You want to register custom event handlers using instances of CAP Node.js SDK classes. Which one do you use?
Suggested Answer: A
Get Premium C_CPE_2409 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
29 comments · newest first
RO
Rodolfo
11 months ago
cds.Request seems off for this.
AR
Arleen
11 months ago
I thought it was cds.Service?
SH
Shantay
11 months ago
Definitely cds.Event for custom handlers!
AL
Alexia
11 months ago
Wait, are we sure it's not cds.Service?
SH
Sheron
11 months ago
100% agree, cds.Event is the way to go!
JE
Jesusa
12 months ago
I thought cds.Event was the correct choice, but I need to double-check if it applies to custom handlers specifically.
GE
Georgiana
12 months ago
I'm leaning towards cds.Request, but I can't recall if that's specifically for event handlers or something else.
NO
Norah
1 year ago
I remember practicing a question about event handling, and I feel like cds.Service was mentioned, but it doesn't seem right for this.
AV
Avery
1 year ago
I think we might need to use cds.Event for registering custom event handlers, but I'm not entirely sure.
AN
Anjelica
1 year ago
I'm pretty confident the answer is C. The cds.Event class seems like the logical choice for registering custom event handlers.
WI
Willodean
1 year ago
I'm a bit confused by this question. I'll need to think it through carefully and make sure I understand the CAP Node.js SDK before answering.
BE
Beatriz
1 year ago
Based on the question, I believe the correct answer is A. The cds.Service class should provide the functionality to register custom event handlers.
AD
Adelle
1 year ago
Hmm, I'm not sure about this one. I'll need to review the CAP Node.js SDK documentation to see which class is used for registering custom event handlers.
MO
Mollie
1 year ago
I think the answer is C. The cds.Event class should allow me to register custom event handlers.
AL
Alisha
1 year ago
I'm going with C) cds.Event. It's the only one that makes sense for registering custom event handlers.
RI
Rikki
1 year ago
Yes, cds.Event is specifically designed for handling events in CAP Node.js SDK.
VI
Vivan
1 year ago
I agree, cds.Event is the right choice for registering custom event handlers.
FR
Francisca
1 year ago
Haha, I bet Merlyn just wants to use cds.Service for everything. That's the Swiss Army knife of the CAP SDK!
ME
Merlyn
1 year ago
A) cds.Service? Really? I don't think that's the correct option here. Isn't that for something else?
NI
Nicholle
1 year ago
Definitely C) cds.Event. I remember learning about that in the CAP Node.js SDK documentation.
BR
Brock
1 year ago
I agree, cds.Event is the way to go for registering custom event handlers.
ST
Stephanie
1 year ago
I think the answer is C) cds.Event. That's the class we use to register custom event handlers, right?
MA
Marylin
1 year ago
I believe it is cds.Request that we use to register custom event handlers.
KA
Karol
1 year ago
No, the correct class to use is cds.Service for registering custom event handlers.
BR
Brynn
1 year ago
Yes, you are correct. We use cds.Event to register custom event handlers.
JU
Judy
1 year ago
I agree with Xenia, cds.Service makes more sense for registering custom event handlers
XE
Xenia
1 year ago
But the documentation says we should use cds.Service for custom event handlers
JO
Josefa
1 year ago
I disagree, I believe it's C) cds.Event
XE
Xenia
1 year ago
I think the answer is A) cds.Service