Function readCollection

  • Returns an RxJS operator to read a Collection of resources using an Accessor. It is equivalent to

    switchMap(accessor => of(undefined))
    

    if accessor is null or undefined and to

    switchMap(accessor => accessor.readCollection(type))
    

    otherwise.

    Type Parameters

    Parameters

    • type: Type<T>

      the collection element type

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

    a function that transforms the source Observable

Generated using TypeDoc