call
SHAREDCyberM.exports.call(resource, export, […])
Calls a function exported by another resource.
Schedules another running client resource's exported function and returns a generation-bound Promise. Arguments and results must be serializable; unavailable resources, missing exports, stale generations and scheduler saturation are returned immediately as nil, reason.
Parameters
- resourcestringrequired
- exportstringrequired
- …anyoptional
Returns
- whatever the export returns
Registered in ResourceHost.cpp as LuaCallExport (line 6577).
