What are you trying to follow it up with? The timing can be a bit more delayed or quick depending on the followup you want. In general, you want to sort of buffer the jump in between 2D's two hits. Wait a split second after the first sword, and then jump just before the second sword will hit, it feels surprisingly early for me, like you jump at about the same time the second sword hits.