Structural directive for async state-driven content rendering · Template context for the *cngxAsync content template ...
common/data/async-state
Category
No results found
Features1#
References15#
- InterfaceCngxAsyncContextTemplate context for the *cngxAsync content template
- 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
- 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