2.0.1 • Published 8 months ago

@dv27/timedout v2.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

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

2.0.1

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago