Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 1.09 KB

File metadata and controls

47 lines (28 loc) · 1.09 KB
id AngularAsyncQueuerOptions
title AngularAsyncQueuerOptions

Interface: AngularAsyncQueuerOptions<TValue, TSelected>

Defined in: angular-pacer/src/async-queuer/injectAsyncQueuer.ts:12

Extends

  • AsyncQueuerOptions<TValue>

Type Parameters

TValue

TValue

TSelected

TSelected = { }

Properties

onUnmount()?

optional onUnmount: (queuer) => void;

Defined in: angular-pacer/src/async-queuer/injectAsyncQueuer.ts:21

Optional callback invoked when the component is destroyed. Receives the queuer instance. When provided, replaces the default cleanup (stop + abort); use it to call flush(), stop(), add logging, etc. When using onUnmount with flush, guard your callbacks since the component may already be destroyed.

Parameters

queuer

AngularAsyncQueuer<TValue, TSelected>

Returns

void