# `useTimeoutFn` Calls given function after specified amount of milliseconds. Several thing about it's work: - does not re-render component; - automatically cancel timeout on cancel; - automatically reset timeout on delay change; - reset function call will cancel previous timeout; - timeout will NOT be reset on function change. It will be called within the timeout, you have to reset it on your own when needed. ## Usage ```jsx import * as React from 'react'; import { useTimeoutFn } from 'react-use'; const Demo = () => { const [state, setState] = React.useState('Not called yet'); function fn() { setState(`called at ${Date.now()}`); } const [isReady, cancel, reset] = useTimeoutFn(fn, 5000); const cancelButtonClick = useCallback(() => { if (isReady() === false) { cancel(); setState(`cancelled`); } else { reset(); setState('Not called yet'); } }, []); const readyState = isReady(); return (