code: async function onetime() {
      if (called) return value;
  
      called = 1;
      value = await fn.apply(this, arguments);
      fn = null;
  
      return value;
    }
docs: The function that prevents double execution.
  
  @async
  @public