本文へ移動

@eightkk/vue-weave / core / windowedCoverage

Function: windowedCoverage() ​

windowedCoverage<T, L>(state, window?): WindowedCoverage

Defined in: src/core/windowedData.ts:570

Status counts of the cells that a window covers, without padding: by default the current view. complete is true only when every one of them has loaded. To know whether data is complete for the whole plan, pass its whole extent (its range and every row ID). The window is not limited by maxCells: total is computed from the chunk and row counts and unloaded is what the recorded cells leave, so the work is bounded by the smaller of the window's cell count and the number of recorded cells, never by the width of the window alone. Throws like setWindowedView for an invalid window, and RangeError when its chunk indices are not safe integers or its cell count exceeds Number.MAX_SAFE_INTEGER.

Type Parameters ​

T ​

T

L ​

L

Parameters ​

state ​

WindowedDataState<T, L>

window? ​

WindowedView | undefined = state.view

Returns ​

WindowedCoverage

MIT ライセンスで公開しています。