本页还没有译文
本页 18 段还没译成Português (BR),下面显示的是英文原文。AngularAsyncBatcherOptions
还没翻译译自英文(tanstack.com)本页 18 段都还没译
Defined in: async-batcher/injectAsyncBatcher.ts:14
Extends
AsyncBatcherOptions<TValue>
Type Parameters
TValue
TValue
TSelected
TSelected = {
}
Properties
onUnmount?
optional onUnmount?: (batcher) => void;Defined in: async-batcher/injectAsyncBatcher.ts:23
Optional callback invoked when the component is destroyed. Receives the batcher instance. When provided, replaces the default cleanup (cancel + abort); use it to call flush(), cancel(), add logging, etc. When using onUnmount with flush, guard your callbacks since the component may already be destroyed.
Parameters
batcher
AngularAsyncBatcher<TValue, TSelected>
Returns
void
AI 翻译查看英文原文