[fix] AsyncStorage.flushGetRequests

Add stub function for API compatibility.

Close #676
This commit is contained in:
Louis Lagrange
2017-10-05 22:08:55 +02:00
committed by Nicolas Gallagher
parent de970f9dbb
commit 72c72f6530
+5
View File
@@ -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.
*/