Crate dioxus_time

Source
Expand description

§Dioxus Time Utilities

Cross-platform timing utilities for your Dioxus apps.

We currently offer:

Structs§

TimeoutHandle
A handle to a pending timeout.
UseDebounce
The interface for calling a debounce.
UseInterval
The interface to a debounce.
UseTimeout
The interface to a timeout.

Functions§

sleep
Pause the current task for the specified duration.
use_debounce
A hook for allowing a function to be called only after a provided Duration has passed.
use_interval
Repeatedly call a function at a specific interval.
use_timeout
A hook to run a callback after a period of time.