read

abstract fun read(): BsonValue(source)

Reads the value of this option.

Performance

This method requires writing this option into a temporary BSON value.

Typically, most option implementations provide specific inexpensive accessors for their different components (e.g. LimitOption.limit).