+ 2
i ve some confusion with decorators
guys i m not able to understand why we define a wrapper function inside decorator function...cant we write the code in wrapper function directly in created decorator function
1 Resposta
0
The pattern/decorator can be used at any time, to wrap any function.