2.0.1 • Published 2 years ago
@dv27/timedout v2.0.1
timedout
Executes a function after idle timeout.installation
npm install @dv27/timedout
Usage
Import in your application
// @ts-ignore
import {TimedoutService} from '@dv27/timedout';then
const t = new TimedoutService();
t.start(logout, 180000 )here logout is some function you may want to execute after timeout