rsync abstract method

Future<void> rsync(
  1. ShadertoyStore metadataStore,
  2. VaultStore assetStore,
  3. HybridSyncMode mode, {
  4. SyncTaskRunner? runner,
  5. int? concurrency,
  6. int? timeout,
  7. List<String> playlistIds,
})

Synchronizes the metadataStore with the remote shadertoy data.

  • metadataStore: A ShadertoyStore implementation to store the metadata
  • assetStore: A VaultStore implementation to store shader and user assets
  • mode: Specifies the mode used on the synchronization, either full or newest
  • concurrency: Maximum number of simultaneous requests
  • timeout: Request timeout in seconds
  • playlistIds: The playlists to synchronize

Implementation

Future<void> rsync(
    ShadertoyStore metadataStore, VaultStore assetStore, HybridSyncMode mode,
    {SyncTaskRunner? runner,
    int? concurrency,
    int? timeout,
    List<String> playlistIds});