Hey guys, I was going through some past conversation here regarding `writeDataPoint` and `waitUntil`

Hey guys, I was going through some past conversation here regarding writeDataPoint and
waitUntil
. It's not clear to me if I need to call
waitUntil
and wrap writeDataPoint into a Promise.

Does writeDataPoint affect or add latency to my worker response? My team is afraid we need to wrap it and use
waitUntil
but I'd need to do some hacks with performance.now() because it would return a different value if it's executed inside
waitUntil
.

Could somebody clarify? Thanks!
Was this page helpful?