import { Injectable } from '@angular/core' ; import { ReplaySubject } from 'rxjs' ; @ Injectable ( ) export class ThyTimelineService { check$ = new ReplaySubject ( 1 ) ; markForCheck ( ) { this . check$ . next ( ) ; } }