Skip to main content
cngx-src documentation

HttpResourceLike

Interface

projects/common/data/async-state/from-http-resource.ts

Import#

import { HttpResourceLike } from '@cngx/common/data'

Description#

Shape of an HttpResourceRef — only the signals we need.

Declared here to avoid a hard dependency on @angular/common/http. The consumer passes the actual httpResource() return value which satisfies this interface at runtime.

Metadata#

Index#

Properties

Instance Properties#

progress#function