Skip to main content

overwolf.io.listenOnFile

Overwolf APIs / overwolf / overwolf / io / listenOnFile

function listenOnFile(
id: string,
path: string,
options: ListenFileOptions,
callback: CallbackFunction<ListenOnFileResult>,
): void;

Start listening on file. Stream a file (text files only), line-by-line, from the local filesystem.

Parameters

ParameterTypeDescription
idstringlisten Id.
pathstringThe target path.
optionsListenFileOptionsDescribes the different options to listen to a file.
callbackCallbackFunction<ListenOnFileResult>result callback.

Returns

void