jstests/noPassthrough/change_streams_resume_same_clustertime_different_uuid.js
// cursor. Returns the change stream document.
cursor. Returns the change stream document.
cursor . Returns the change stream document .
function assertWriteVisible({cursor, opType, docKey}) {
    assert.soon(() => cursor.hasNext());
    const changeDoc = cursor.next();
    assert.eq(opType, changeDoc.operationType, changeDoc);
    assert.eq(docKey, changeDoc.documentKey, changeDoc);
    return changeDoc;
}
function assertWriteVisible ( { cursor , opType , docKey } ) { assert . soon ( ( ) => cursor . hasNext ( ) ) ; const changeDoc = cursor . next ( ) ; assert . eq ( opType , changeDoc . operationType , changeDoc ) ; assert . eq ( docKey , changeDoc . documentKey , changeDoc ) ; return changeDoc ; }
cursor.
cursor .