src/methods/node.js
function createSocketInfoFile(channelName, readerUuid, paths) {
    const pathToFile = socketInfoPath(channelName, readerUuid, paths);
    return writeFile(
        pathToFile,
        JSON.stringify({
            time: microSeconds()
        })
    ).then(() => pathToFile);
}
function createSocketInfoFile(channelName, readerUuid, paths) {
    const pathToFile = socketInfoPath(channelName, readerUuid, paths);
    return writeFile(
        pathToFile,
        JSON.stringify({
            time: microSeconds()
        })
    ).then(() => pathToFile);
}
function createSocketInfoFile ( channelName , readerUuid , paths ) { const pathToFile = socketInfoPath ( channelName , readerUuid , paths ) ; return writeFile ( pathToFile , JSON . stringify ( { time : microSeconds ( ) } ) ) . then ( ( ) => pathToFile ) ; }
Because it is not possible to get all socket-files in a folder,
when used under fucking windows,
we have to set a normal file so other readers know our socket exists
Because it is not possible to get all socket - files in a folder when used under fucking windows we have to set a normal file so other readers know our socket exists