near-api-js - v7.0.4
    Preparing search index...

    Type Alias CloudArchivalWriterConfig

    Configuration for a cloud-based archival writer. If this config is present, the writer is enabled and writes chunk-related data based on the tracked shards. This config also controls additional archival behavior such as block data and polling interval.

    type CloudArchivalWriterConfig = {
        archive_block_data?: boolean;
        polling_interval?: DurationAsStdSchemaProvider;
    }
    Index

    Properties

    archive_block_data?: boolean

    Determines whether block-related data should be written to cloud storage.

    polling_interval?: DurationAsStdSchemaProvider

    Interval at which the system checks for new blocks or chunks to archive.