Type: Function

Optional. Called to unload a single document, which may be useful to conserve memory in cases where the hierarchy references a very large number of documents. When using the just-in-time loading feature, documents loaded automatically by scrolling the viewport can only be unloaded automatically if this is implemented.


  1. documentId


    The ID of the document to unload


Type: Promise

Should resolve to undefined