Constructs a Resource
that projects a reactive request to an asynchronous operation defined by
a loader function, which exposes the result of the loading operation via signals.
API
Description
function resource<T, R>( options: ResourceOptions<T, R>): ResourceRef<T>;
Jump to details