Like resource
but uses an RxJS based loader
which maps the request to an Observable
of the
resource's value. Like firstValueFrom
, only the first emission of the Observable is considered.
rxResource
ResourceRef<T | undefined>
Like resource
but uses an RxJS based loader
which maps the request to an Observable
of the
resource's value. Like firstValueFrom
, only the first emission of the Observable is considered.
@returns
ResourceRef<T | undefined>
Jump to details