Hi i want to keep getting data even after the timeout its reached i try some other way but no success (timeWith, repeatWhen ect)
here my code. now, any help would be good
goal: Device stops sending data = timeout alert user, device starts to get data again resume stream
  private gpsDevice(): Observable<Position> {
    return this.bluetooth.getBluetoothData().pipe(
      timeout(4000),
      switchMap((position) => {
       ...
        return of(position);
      }),
      catchError((error) => {
        console.error('Timeout occurred:', error);
        return EMPTY;
      }),
    );
  }