Skip to content

basalt / drives/src / syncConnection

Function: syncConnection() ​

> syncConnection(drives, connectionId, options): Promise<DriveSyncResult>

Defined in: drives/src/sync.ts:141

Runs one sync pass over a connection.

Never throws for a provider hiccup that the retry policy already handled — but a terminal failure (invalid credentials, an unsupported capability) does propagate, because a sync that quietly does nothing forever is worse than one that fails visibly.

Parameters ​

drives ​

Drives

connectionId ​

string

options ​

SyncOptions

Returns ​

Promise<DriveSyncResult>

Released under the MIT License.