import { shareReplay } from 'rxjs/operators' ; import { timerData$ } from '../core/helpers' ; /**
 * Normal Observables notify only a single subscriber (uni-cast)
 * and re-execute each time they are subscribed.
 * ShareReplay multi-casts with a ReplaySubject
 */ export function play ( ... args ) { return timerData$ . pipe ( shareReplay ( 1 ) ) ; }