Interface FileSystemWritableFileStream

    Available only in secure contexts.

    MDN Reference

    interface FileSystemWritableFileStream {
        locked: boolean;
        abort(reason?: any): Promise<void>;
        close(): Promise<void>;
        getWriter(): WritableStreamDefaultWriter<any>;
        seek(position: number): Promise<void>;
        truncate(size: number): Promise<void>;
        write(data: FileSystemWriteChunkType): Promise<void>;
    }
    Hierarchy

    Properties

    locked: boolean

    Methods