syncDirectionResolver property

SyncDirectionResolver? syncDirectionResolver
final

A callback that allows customizing the sync direction based on pending operations.

This callback is invoked before each sync operation to determine the optimal sync direction. It receives the current pending operation count and the default sync direction, and can return a custom direction.

If null, the default sync direction logic will be used.

Implementation

final SyncDirectionResolver? syncDirectionResolver;