function useOnceimport { useOnce } from "https://deno.land/x/easy_std@v0.7.0/src/fn.ts"; useOnce<T extends AnyFunction>(fn: T)Any function will only be called once ExamplesExample 1 import { useOnce } from "https://deno.land/x/easy_std@version/src/fn.ts" let foo = 0 const once = useOnce(() => foo += 1) once() once() foo // 1 Type ParametersT extends AnyFunctionParametersfn: T