predicate

fun predicate(body: suspend SentryCapture.() -> Boolean)

Register a Sentry submission predicate.

You can use a submission predicate to filter which captures Kord Extensions sends to Sentry. Return false from your predicate to prevent the capture from being sent.

The Sentry adapter will iterate the predicates in order of definition, stopping when one returns false or there's none left.