oro-gate
v1.0.0
Published
reusable progression lock
Downloads
1
Readme
import gate from "oro-gate"
var { playing, pause, play } = gate()
if (playing()) console.log("woot") // "woot"
pause()
if (playing()) console.log("woot") //
play()
if (playing()) console.log("woot") // "woot"