Function
Fast
File:ReadAsync
Reads characters from the File asynchronously.
Syntax
my_file:ReadAsync(length = 0, callback)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
length
optional
|
integer | 0 |
Length to be read from file, pass 0 to read the whole file |
callback
|
function | — | Callback
Callback signature
function(file_content)
|