You are correct, so @Giedrius showed a workaround where the Note On and Note Off messages get split off into two pipelines in order to delay/retard each by a given duration.
Your title, however, suggests you might also want to “retard” other message types as well.