Structural directive for async state-driven content rendering · Headless boundary that aggregates N keyed CngxAsyncSt...
common/data/async-state
Category
No results found
Features2#
References19#
- InterfaceAggregateFailureOne errored source, surfaced by {@link CngxAsyncBoundary.failures}
- InterfaceAggregateSourceOne keyed upstream source feeding a {@link CngxAsyncBoundary}
- InterfaceCngxAsyncContextTemplate context for the *cngxAsync content template
- InterfaceCreateAsyncStateOptionsConfiguration options for createAsyncState
- InterfaceInjectAsyncStateOptionsConfiguration options for injectAsyncState
- InterfaceManualAsyncStateWritable extension of CngxAsyncState for manual control
- InterfaceMutableAsyncStateWritable async state for mutations (POST/PUT/DELETE)
- InterfaceReactiveAsyncStateReactive async state returned by injectAsyncState
- FunctioncreateAsyncStateCreate a mutation async state - for explicit user-triggered actions
- FunctioncreateForwardedAsyncStateWraps a changing source of async state in a stable {@link CngxAsyncState} façade
- FunctioncreateManualStateCreate a fully manual async state - no HTTP, no automatic loading
- FunctionfromHttpResourceBridge that projects an Angular httpResource() ref onto CngxAsyncState<T>
- FunctionfromResourceBridge that projects an Angular Resource<T> onto CngxAsyncState<T>
- FunctioninjectAsyncStateCreate a reactive async state that auto-loads when signal dependencies change
- FunctionresolveAsyncViewPure function that resolves which view to show based on async state
- FunctiontapAsyncProgressRxJS operator that extracts upload/download progress from an HttpEvent stream and reports it to a ManualAsyncState
- FunctiontapAsyncStateRxJS operator that wires an Observable's lifecycle to a ManualAsyncState
- FunctiontapHttpAsyncStateRxJS operator that combines tapAsyncState + tapAsyncProgress for HTTP event streams
- Type AliasAsyncViewPossible view states for async content rendering