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