title: ArmaRAMDb - Handler icon: mdi:file-text-outline
Handles data received from the database and routes it to the appropriate function. This function is a critical component of the callback system, receiving data from database operations and directing it to the specified function, either locally or to a remote client.
Parameter | Type | Description | Default |
---|---|---|---|
_uniqueID | String | Unique identifier for the data chunk | "" |
_function | String | Name of function to receive the data | "" |
_call | Boolean | Whether to call the function directly (true) or spawn (false) | false |
_data | Array, String, Number, or Boolean | The data retrieved from the database | [] |
_netId | String | (Optional) NetID of the player to receive the data | nil |
None. The data is passed to the specified function for processing.
_call
parameter determines whether the function is called directly (synchronous) or spawned (asynchronous)ramdb_db_fnc_scheduler
: Processes callbacks from the database extensionramdb_db_fnc_fetch
: Assembles data chunks for large datasetsramdb_db_fnc_addTask
: Adds tasks to the database operation queueAdd Task | Handler | Init | Print Addon Name | Process Queue | Scheduler | Test