PlayHead

PlayHead is a very simple and small counter utility with play , pause and stop function. At any give time the lapsed time can be obtained from time function.

Usage

Please see the documentation for further details but in brief:

To create a new Timer

the name of the timer is called play head

> let playhead = PlayHead::new();

To Start

> playhead.start();

To Stop

> playhead.stop();

To Pause

> playhead.pause();

To check the lapsed Time

playhead.time();