timeout property
bool
get
timeout
Implementation
bool get timeout => (flags & MongoQueryMessage.OPTS_NO_CURSOR_TIMEOUT) == 0;
set
timeout
(bool value)
The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use. Unset this option to prevent that.
Implementation
set timeout(bool value) => !value
? flags |= MongoQueryMessage.OPTS_NO_CURSOR_TIMEOUT
: flags &= ~(MongoQueryMessage.OPTS_NO_CURSOR_TIMEOUT);