Add callback to wait for one revolution.

Closes #17.