Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/diegomura/react-pdf
/ _refEnd
Method
_refEnd
packages/pdfkit/src/document.js:212–218 ·
view source on GitHub ↗
(ref)
Source
from the content-addressed store, hash-verified
210
}
211
212
_refEnd(ref) {
213
this._offsets[ref.id - 1] = ref.offset;
214
if
(--this._waiting === 0 && this._ended) {
215
this._finalize();
216
return
(this._ended = false);
217
}
218
}
219
220
end() {
221
this.flushPages();
Callers
1
finalize
Method · 0.80
Calls
1
_finalize
Method · 0.95
Tested by
no test coverage detected