From 9d351df7a903dbb847042ec2caf3c1c52f7464d9 Mon Sep 17 00:00:00 2001 From: Ben Bourdin Date: Thu, 19 Oct 2023 10:31:27 +0100 Subject: [PATCH] update readme attempt to clarify slight ambiguity around the sync event description fix #35 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ccbccc7..b602fb4 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,8 @@ that is used as the room-name in the connection provider. provider.on('synced', function(idbPersistence: IndexeddbPersistence))
The "synced" event is fired when the connection to the database has been established -and all available content has been loaded. The event is also fired when no content -is available yet. +and all available content has been loaded. The event is also fired if no content +is found for the given doc name.
provider.set(key: any, value: any): Promise<any>