File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
* Ability to open CFCs that are profiled by the WireBox Collector in any Code Editor.
18
18
* Ability to open the Handler events that are profiled by the Request Collector in any Code Editor.
19
19
* New life-cycle events: onDebuggerUnload, onDebuggerLoad
20
+ * Ability for the custom ` timeIt() ` functions to accept metdata to store in the execution timer
20
21
21
22
### Fixed
22
23
23
24
* Timer service reconstructing the timer hashes and profilers twice.
25
+ * ` timeIt() ` helper was not passing the closure correctly
24
26
25
27
### Changed
26
28
Original file line number Diff line number Diff line change 47
47
*
48
48
* @label The label to use as a timer label
49
49
* @closure The target to execute and time
50
+ * @metadata A struct of metadata to store in the execution timer
50
51
*/
51
- function cbTimeIt ( required label , required closure ){
52
- return variables .wirebox .getInstance ( " Timer@cbdebugger" ).timeIt ( arguments . label );
52
+ function cbTimeIt ( required label , required closure , struct metadata = {} ){
53
+ return variables .wirebox .getInstance ( " Timer@cbdebugger" ).timeIt ( argumentCollection = arguments );
53
54
}
54
55
55
56
/**
You can’t perform that action at this time.
0 commit comments