function assignPrototypeAPIs<TFeatures, TData, TDeps, TDepArgs>(
feature,
prototype,
table,
apis): void;
Defined in: utils.ts:339
Assigns API methods to a prototype object for memory-efficient method sharing. All instances created with this prototype will share the same method references.
For memoized methods, the memo state is lazily created and stored on each instance. This provides the best of both worlds: shared method code + per-instance caching.
TFeatures extends TableFeatures
TData extends RowData
TDeps extends readonly any[]
TDepArgs
keyof TFeatures & string
Record<string, any>
Table_Internal<TFeatures, TData>
PrototypeAPIObject<TDeps, NoInfer<TDepArgs>>
void