src/methods/node.js
async function countChannelFolders() {
    await ensureBaseFolderExists();
    const folders = await readdir(TMP_FOLDER_BASE);
    return folders.length;
}
async function countChannelFolders() {
    await ensureBaseFolderExists();
    const folders = await readdir(TMP_FOLDER_BASE);
    return folders.length;
}
async function countChannelFolders ( ) { await ensureBaseFolderExists ( ) ; const folders = await readdir ( TMP_FOLDER_BASE ) ; return folders . length ; }
returns the amount of channel-folders in the tmp-directory
@return {Promise<number>}
returns the amount of channel - folders in the tmp - directory