• Returns an RxJS operator to create a new resource identified by an Accessor or a Resource. It is equivalent to

    switchMap(x => of(undefined))
    

    if the stream value is null or undefined and to

    switchMap(x => x.create(obj))
    

    otherwise.

    Parameters

    • obj: any

      the value for the resource

    Returns OperatorFunction<Accessor | Resource | undefined, Accessor | undefined>

    a function that transforms the source Observable

Generated using TypeDoc