<commit_before>-- Proxy interface system, used to add/call functions between resources

local Proxy = {}

local function proxy_null_callback()
end

local function proxy_resolve(itable,key)
  local iname = getmetatable(itable).name

  -- generate access function
  local fcall = function(args,callback)
    if args == nil then
      args = {}
    end

    if callback == nil then
      callback = proxy_null_callback
    end
    
    print(iname..":"..key)
    TriggerEvent(iname..":proxy",key,args,callback)
  end

  itable[key] = fcall -- add generated call to table (optimization)<commit_msg>Minor change<commit_after>-- Proxy interface system, used to add/call functions between resources

local Proxy = {}

local function proxy_null_callback()
end

local function proxy_resolve(itable,key)
  local iname = getmetatable(itable).name

  -- generate access function
  local fcall = function(args,callback)
    if args == nil then
      args = {}
    end

    if callback == nil then
      callback = proxy_null_callback
    end
    
    TriggerEvent(iname..":proxy",key,args,callback)
  end

  itable[key] = fcall -- add generated call to table (optimization)
{'fraction_non_alphanumeric': 0.0939655172413793, 'fraction_numerical': 0.0, 'mean_word_length': 3.4482758620689653, 'pattern_counts': {'":': 3, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5171469', 'n_tokens_mistral': 342, 'n_tokens_neox': 330, 'n_words': 103}