There’s two points where you didn’t follow my instructions
:
- You’re not using the correct signature for
store_pulses. It has to bestore_pulses(wrk, iteration, _...) - You’re not passing
store_pulsesas aninfo_hook, but the result ofstore_pulses(wrk), which is where your error originates.
Here is a complete working example: