awaitData property

bool awaitData
final

Use in conjunction with the tailable option to block a getMore command on the cursor temporarily if at the end of data rather than returning no data. After a timeout period, find returns as normal.

Implementation

final bool awaitData;