Skip to content

zekth/deno_random_interval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deno random interval Build Status

import { randomInterval, ClearInterval } from "./mod.ts";

const i: ClearInterval = randomInterval(() => {
  console.log("foo");
}, 50); // will prompt randomly foo in the console every 0-50ms

setTimeout(i.clear, 1000); // clear the interval after 1second

About

Generates random interval

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published