Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 958 Bytes

File metadata and controls

46 lines (27 loc) · 958 Bytes
id AngularBatcherOptions
title AngularBatcherOptions

Interface: AngularBatcherOptions<TValue, TSelected>

Defined in: angular-pacer/src/batcher/injectBatcher.ts:9

Extends

  • BatcherOptions<TValue>

Type Parameters

TValue

TValue

TSelected

TSelected = { }

Properties

onUnmount()?

optional onUnmount: (batcher) => void;

Defined in: angular-pacer/src/batcher/injectBatcher.ts:17

Optional callback invoked when the component is destroyed. Receives the batcher instance. When provided, replaces the default cleanup (cancel); use it to call flush(), cancel(), add logging, etc.

Parameters

batcher

AngularBatcher<TValue, TSelected>

Returns

void