docMap

  • function
 

Writes out every docObject within a docMap.

.write.docMap(docMap, renderer, options, setCurrentDocObjectForHelpers)

Parameters

  1. docMap {docMap}

  2. renderer {renderer(docObject)}

  3. options {Object}

  4. setCurrentDocObjectForHelpers {function(documentjs.process.docObject)}

Returns

{Promise}

Resolves when all docObjects have been written.