Custom

class Custom(val check: suspend () -> Boolean) : ProbeStrategy(source)

Your own check; return true when the internet is reachable. Runs on an IO thread.

Constructors

Link copied to clipboard
constructor(check: suspend () -> Boolean)

Properties

Link copied to clipboard
val check: suspend () -> Boolean