Dhairya Vermarajurastogi.hashnode.dev·Oct 25, 2023Trace latency: Typescript method decoratorIn this blog, I will delve into using a typescript method decorator for tracking latency for any piece of code. We have a lot of function calls in our code where we start the timer, calculate the time elapsed, and then publish it to some metric servi...32 readsTypeScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.