Part of StarfallEx namespace
๐ External
file.asyncRead(path, callback)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Reads a file asynchronously. Can only read 'sf_file_asyncmax' files at a time
Parameters
| Name | Type | Description |
|---|---|---|
path | string | Filepath relative to data/sf_filedata/. |
callback | function | A callback function for when the read operation finishes. It has 3 arguments: `filename` string, `status` number and `data` string |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.