From 72c72f65305d6c4f7d078b62f5427b60402af9a8 Mon Sep 17 00:00:00 2001 From: Louis Lagrange Date: Thu, 5 Oct 2017 22:08:55 +0200 Subject: [PATCH] [fix] AsyncStorage.flushGetRequests Add stub function for API compatibility. Close #676 --- src/apis/AsyncStorage/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/apis/AsyncStorage/index.js b/src/apis/AsyncStorage/index.js index 861c79a3..9dd8165a 100644 --- a/src/apis/AsyncStorage/index.js +++ b/src/apis/AsyncStorage/index.js @@ -61,6 +61,11 @@ export default class AsyncStorage { }, callback); } + /** + * (stub) Flushes any pending requests using a single batch call to get the data. + */ + static flushGetRequests() {} + /** * Gets *all* keys known to the app, for all callers, libraries, etc. */