SyncManager

@Singleton
class SyncManager(val catalog: DestinationCatalog)

Constructors

Link copied to clipboard
constructor(catalog: DestinationCatalog)

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Whether we received stream complete messages for all streams in the catalog from upstream.

Link copied to clipboard

Suspend until all streams are processed successfully. Returns false if processing failed for any stream.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun awaitSetupComplete()
Link copied to clipboard

Get the manager for the given stream. Throws an exception if the stream is not found.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun markInputConsumed()
Link copied to clipboard
suspend fun markSetupComplete()
Link copied to clipboard