watchIndexes

suspend fun watchIndexes(indexNames: Collection<String>, includePrimary: Boolean = false, timeout: Duration, common: CommonOptions = CommonOptions.Default)

Returns when the indexes named indexNames in this collection are online.