• Return a new function that ensure the passed function

    will be called at most once

    Parameters

    • fn: Function

    Returns ((this: any, ...args: any[]) => void)

      • (this: any, ...args: any[]): void
      • Parameters

        • this: any
        • Rest ...args: any[]

        Returns void

Generated using TypeDoc