Deno Once
Create a function that calls and cache a function once
Usage
import once from 'https://ksxgithub.github.io/once/index.js'
const ran = once(Math.random)
console.log(ran() === ran()) // => true
Create a function that calls and cache a function once
import once from 'https://ksxgithub.github.io/once/index.js'
const ran = once(Math.random)
console.log(ran() === ran()) // => true