A Resource is an asynchronous dependency (for example, the results of an API call) that is managed and delivered through signals.
interface Resource<T> { readonly value: Signal<T | undefined>; readonly status: Signal<ResourceStatus>; readonly error: Signal<unknown>; readonly isLoading: Signal<boolean>; hasValue(): boolean; reload(): boolean;}