Publishes the given message, returning the inserted message ID. Ignores message duplicates, returning null in that case. Can be used inside transactions (same options as MongoDB insertOne).
insertOne
Optional
Generated using TypeDoc
Publishes the given message, returning the inserted message ID. Ignores message duplicates, returning null in that case. Can be used inside transactions (same options as MongoDB
insertOne
).