check

open override fun check(element: String): Mono<Boolean>

Checks if the element is a potential duplicate using the Bloom filter. If the element might be contained (possible duplicate), returns false. If the element is definitely not contained (unique), adds it to the filter and returns true.

Return

a Mono emitting true if the element appears to be unique, false if it's a potential duplicate

Parameters

element

the element to check for duplicates