couchbaselabs / mobile-dart-flutter-plugin

1 stars 0 forks source link

Req - 13: Database.openAsync(db_name) #14

Closed Fujio-Turner closed 3 months ago

Fujio-Turner commented 11 months ago

DART: Look into how Dart handles async tasks to see we need to build Async everything first then put WAITS to make them sync??????

ANSWER: Asynchronous - happen in the background without blocking the main thread. Synchronous - main thread being blocked until the process is complete.

MOBILE: https://docs.couchbase.com/mobile/3.0.15/couchbase-lite-c/C/html/group__database.html

WEB: Since the local "DB" is a memory object there is no need to do async , but later on in the future we might.