Skip to content

outputStream instead of writing to file? #32

@WofWca

Description

@WofWca

timecut has the outputStream option.
I believe it is nice for when you want the users of your web service to start downloading the file immediately, as it is being rendered.


Or perhaps are there workarounds? I discovered that files are being written in the temp directory ./tmp/synthesizer/:

tmpDirPath = path.resolve("tmp/synthesizer/");

after which the file is simply moved

await fs.move(this._swapFilePath, this.outputPath, { overwrite: true });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions