A decorator is actually a purpose that usually takes a perform as an argument and returns a closure. The closure is really a set of interior functions and cost-free variables. DughDugh 17111 silver badge33 bronze badges one This is certainly just what exactly I wanted. Substantially nicer to work with https://smartworlddeveloper.co.in/