happy-opfs
    Preparing search index...

    Interface ConnectSyncChannelOptions

    Options for SyncChannel.connect.

    interface ConnectSyncChannelOptions {
        opTimeout?: number;
        sharedBufferLength?: number;
    }
    Index

    Properties

    opTimeout?: number

    The timeout for each synchronous operation in milliseconds. If an operation takes longer than this, a TimeoutError is thrown.

    1000 (1 second)

    sharedBufferLength?: number

    The size of the SharedArrayBuffer in bytes. Larger buffers can handle larger file operations but consume more memory. Must be a multiple of 4 and at least 256 bytes.

    1048576 (1MB)