Can publish data in a loop. Just need to apply necessary functions to it.