Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.file.asyncRead

C๐Ÿท๏ธ File

Part of StarfallEx namespace

๐Ÿ”— External
file.asyncRead(path, callback)
View on GitHub|lua/starfall/libs_cl/file.lua:232
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Reads a file asynchronously. Can only read 'sf_file_asyncmax' files at a time

Parameters

NameTypeDescription
pathstringFilepath relative to data/sf_filedata/.
callbackfunctionA 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.