-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Currently, we always create the command monitoring event structs and then only send them if the user has specified an event handler. We can instead make the event creation lazy (i.e. only create them if a handler is specified) to avoid unnecessary allocations in the optimal case.