firstOrNull

abstract suspend fun firstOrNull(): ChangeStreamDocument<out TResult>?

Helper to return first result.

Return

the first result or null

Since

1.8