Closed reillyeon closed 4 years ago
An AbortSignal allows the IdleDetector and any other operations to be stopped with a single call to AbortController.abort(). So that a single detector can be restarted the options have been moved from the constructor to the start() method.
AbortSignal
IdleDetector
AbortController.abort()
start()
Fixes #19.
An
AbortSignal
allows theIdleDetector
and any other operations to be stopped with a single call toAbortController.abort()
. So that a single detector can be restarted the options have been moved from the constructor to thestart()
method.Fixes #19.