overwolf.io.readTextFile
Overwolf APIs / overwolf / overwolf / io / readTextFile
function readTextFile(
path: string,
options: ReadFileOptions,
callback: CallbackFunction<ReadTextFileResult>,
): void;
Reads a file's contents and returns it as text.
Parameters
| Parameter | Type | Description |
|---|---|---|
path | string | The target path. |
options | ReadFileOptions | Describes the different options to read a file. |
callback | CallbackFunction<ReadTextFileResult> | result callback. |
Returns
void