UseDebouncedTimeout

Given a timeout, this hooks provide a TimeoutHandle which can be used to submit an effect, which will be run after the timeout. If a new effect is submitted before the timeout, the previous one will be canceled (whether it already started running or not).

A submitted effect can be explicitly canceled.

class Object
trait Matchable
class Any

Type members

Classlikes

Companion
class
Companion
object
object implicits extends HooksApiExt

Value members

Concrete fields

val hook: CustomHook[FiniteDuration, Reusable[TimeoutHandle[IO]]]