add PeriodicDelay interface which is aware of period
Merge pull request #9 from jozic/periodic-delay

add PeriodicDelay interface which is aware of period