Options to the resource function, for creating a resource.
resource
interface ResourceOptions<T, R> { request?: (() => R) | undefined; loader: ResourceLoader<T, R>; equal?: ValueEqualityFn<T> | undefined; injector?: Injector | undefined;}