@backblaze-labs/b2-sdk - v0.4.0
    Preparing search index...

    Function synchronize

    • Runs a full sync operation: scans both folders, pairs files, generates actions, and executes them with bounded concurrency. Yields SyncEvent entries for each comparison and action result.

      Parameters

      Returns AsyncGenerator<SyncEvent>

      An async generator that yields comparison and action events.

    • Legacy overload for broad custom synchronizer configurations.

      Parameters

      Returns AsyncGenerator<SyncEvent>

      An async generator that yields comparison and action events.

      Use SupportedSynchronizerConfig. This legacy overload accepts broad custom configurations for source compatibility, but the supported union is the public contract for built-in sync directions.