digidem / mapeo-core-next

The upcoming version of Mapeo Core
MIT License
7 stars 1 forks source link

Add auto-stop option to $sync.start() #627

Closed EvanHahn closed 1 month ago

EvanHahn commented 2 months ago

project.$sync.start() should take an option, autostopAfter, which is a millisecond duration.

Once sync has been finished for that number of milliseconds, data sync should be stopped.