DocumentWithPayload

constructor(document: Document, payload: Payload)(source)

Parameters

Document

The type of the document being stored or processed.

Payload

The type of the payload associated with the document.