Extracting the last dt used by solver in DifferentialEquations.jl

As per the title, I need to be able to extract the last dt used by the ODE solver from DifferentialEquations.jl .
Since in my specific use case I need to extract it whenever I terminate the solver from a callback, it does not matter if it is not available in the ODESolution, as long as I can maybe extract it from the Integrator and write it somewhere that I can then access externally.

Has anyone already done it or do you have any hints for how to get this dt?



But does the solution contain every timestep by default or just a subset?
If this is the case, it is very easy and I feel very stupid :melting_face:

The solution contains every timestep unless saveat is used.