Methods
initDatabase() → {Promise}
Initialize persistent cache: open or create/upgrade if needed.
Returns:
- Type:
-
Promise
promise to be resolved/rejected when the DB is initialized.
isEmpty() → {boolean}
Check if buffer is empty.
- Source:
Returns:
- Type:
-
boolean
true
if the buffer is empty, false
otherwise.
Type Definitions
contactFilter(contact) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
contact |
Object
|
to check for inclusion. |
Returns:
- Type:
-
boolean
true
if contact should be processed, false
to exclude it.