ok, I see, this wouldn’t help me since it would require any user of this custom module to only use my custom optimizer.
I guess I’ll have to go with it and tell ppl to just run some code of mine after the step()
(a feature like monitoring if some attribute from a module was changed to run some code in that case would be nice here for me)
thanks