Changeset View
Changeset View
Standalone View
Standalone View
native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp
Show First 20 Lines • Show All 1,065 Lines • ▼ Show 20 Lines | return createPromiseAsJSIValue( | ||||
GlobalDBSingleton::instance.scheduleOrRun(job); | GlobalDBSingleton::instance.scheduleOrRun(job); | ||||
}); | }); | ||||
} | } | ||||
bool CommCoreModule::checkIfDatabaseNeedsDeletion(jsi::Runtime &rt) { | bool CommCoreModule::checkIfDatabaseNeedsDeletion(jsi::Runtime &rt) { | ||||
return DatabaseManager::checkIfDatabaseNeedsDeletion(); | return DatabaseManager::checkIfDatabaseNeedsDeletion(); | ||||
} | } | ||||
void CommCoreModule::reportDBOperationsFailure(jsi::Runtime &rt) { | |||||
DatabaseManager::reportDBOperationsFailure(); | |||||
} | |||||
} // namespace comm | } // namespace comm |