How to use psychopy create interruption task

In that case I would recommend the method I use for my Repeat Subset or Randomisation without repetition online demo. Have an extra loop at the end which just presents interruption tasks from a list.