Declaration

Parameters

completionHandler

The completion handler to call when the document is retrieved or if the operation fails.
This handler is executed on a non-main global DispatchQueue. If the operation is
successful, the result will contain an optional T indicating the next document in the
cursor. The document will be nil if there are no more documents in the cursor.