123456789_123456789_123456789_123456789_123456789_

Module: Mongo::Error::ChangeStreamResumable

Overview

A module signifying the error will always cause change stream to resume once.

Since:

  • 2.6.0

Instance Attribute Summary

Instance Attribute Details

#change_stream_resumable?true, false (readonly)

Can the change stream on which this error occurred be resumed, provided the operation that triggered this error was a getMore?

Examples:

Is the error resumable for the change stream?

error.change_stream_resumable?

Returns:

  • (true, false)

    Whether the error is resumable.

Since:

  • 2.6.0

[ GitHub ]

  
# File 'lib/mongo/error/change_stream_resumable.rb', line 33

def change_stream_resumable?
  true
end