function injectQueuedValue<TValue>(source, options?): AngularQueuerValue<TValue>;Defined in: packages/angular-pacer/src/queuer/injectQueuedValue.ts:43
Creates an Angular queued view of a source accessor.
The first read exposes the source value. An effect enqueues the initial value and each later value it observes; processing updates the returned value in queue order. Multiple source changes before an effect runs can collapse to the latest value.
Options accept an object or factory and follow injectQueuer behavior. Pass a selector to expose reactive queue state on queuer.state().
TValue
() => TValue
The source signal or accessor to observe.
MaybeAccessor<AngularQueuerOptions<TValue>>
Core queue options or a reactive options factory.
AngularQueuerValue<TValue>
The processed-value signal with its queuer attached.
// In a component or service injection context.
const source = signal('initial')
const value = injectQueuedValue(source, { wait: 100 })
source.set('next')function injectQueuedValue<TValue, TSelected>(
source,
options,
selector): AngularQueuerValue<TValue, TSelected>;Defined in: packages/angular-pacer/src/queuer/injectQueuedValue.ts:51
Creates the queued value signal with selected state on its attached queuer.
TValue
TSelected
() => TValue
MaybeAccessor<AngularQueuerOptions<TValue>>
(state) => TSelected
Selects reactive state exposed on the attached queuer.
AngularQueuerValue<TValue, TSelected>