Angular HAL Client - v1.0.0-dev.7
    Preparing search index...

    Function refresh

    • Returns an RxJS operator to refresh a Resource or Collection of resources. It is equivalent to

      switchMap(resource => of(undefined))
      

      if resource is null or undefined and to

      switchMap(resource => resource.read())
      

      otherwise.

      Type Parameters

      Returns OperatorFunction<T | null | undefined, T | undefined>

      a function that transforms the source Observable