Scandit.Fs

Methods

(static) writeTempFile(name: string, content: string): Promise<string>

write a file temporarily to disk (will be deleted when the Cloud Job ends)

Parameters:
Name Type Description
name string

File name with extension, for example testfile.txt

content string

The data that should be written to the file

Returns:
Promise<string>

Promise which is resolved with the local file url