#Hooks for functions?

1 messages · Page 1 of 1 (latest)

pine mango
#

Hi everyone, I need centralized control and management for functions in my repository. In a typical way, I can require these functions to inherit interfaces or use decorators, rather than explicitly calling control management code. When using Dagger, I found that decorators and inheritance seem impractical. Are there other ways to achieve the same task?

For example, I need to record the start and end times of each function, as well as input parameters.

orchid helm
#

you can get that from the telemetry data from dagger cloud no?

stable lagoon
#

I'm not sure what you're trying to do, but you can do those things with a decorator, just make sure it's not between the function and @function.