@@ -79,7 +79,7 @@ function checkValidInput(usedKey: string, value: any) {
79
79
* storage system that is global to the app. It should be used instead of
80
80
* LocalStorage.
81
81
*
82
- * See http://facebook.github.io/react-native /docs/asyncstorage.html
82
+ * See http://reactnative.dev /docs/asyncstorage.html
83
83
*/
84
84
const AsyncStorage = {
85
85
_getRequests : ( [ ] : Array < MultiRequest > ) ,
@@ -89,7 +89,7 @@ const AsyncStorage = {
89
89
/**
90
90
* Fetches an item for a `key` and invokes a callback upon completion.
91
91
*
92
- * See http://facebook.github.io/react-native /docs/asyncstorage.html#getitem
92
+ * See http://reactnative.dev /docs/asyncstorage.html#getitem
93
93
*/
94
94
getItem : function (
95
95
key : string ,
@@ -114,7 +114,7 @@ const AsyncStorage = {
114
114
/**
115
115
* Sets the value for a `key` and invokes a callback upon completion.
116
116
*
117
- * See http://facebook.github.io/react-native /docs/asyncstorage.html#setitem
117
+ * See http://reactnative.dev /docs/asyncstorage.html#setitem
118
118
*/
119
119
setItem : function (
120
120
key : string ,
@@ -138,7 +138,7 @@ const AsyncStorage = {
138
138
/**
139
139
* Removes an item for a `key` and invokes a callback upon completion.
140
140
*
141
- * See http://facebook.github.io/react-native /docs/asyncstorage.html#removeitem
141
+ * See http://reactnative.dev /docs/asyncstorage.html#removeitem
142
142
*/
143
143
removeItem : function (
144
144
key : string ,
@@ -164,7 +164,7 @@ const AsyncStorage = {
164
164
*
165
165
* **NOTE:** This is not supported by all native implementations.
166
166
*
167
- * See http://facebook.github.io/react-native /docs/asyncstorage.html#mergeitem
167
+ * See http://reactnative.dev /docs/asyncstorage.html#mergeitem
168
168
*/
169
169
mergeItem : function (
170
170
key : string ,
@@ -190,7 +190,7 @@ const AsyncStorage = {
190
190
* don't want to call this; use `removeItem` or `multiRemove` to clear only
191
191
* your app's keys.
192
192
*
193
- * See http://facebook.github.io/react-native /docs/asyncstorage.html#clear
193
+ * See http://reactnative.dev /docs/asyncstorage.html#clear
194
194
*/
195
195
clear : function ( callback ?: ?( error : ?Error ) => void ) : Promise < null > {
196
196
return new Promise ( ( resolve , reject ) => {
@@ -209,7 +209,7 @@ const AsyncStorage = {
209
209
/**
210
210
* Gets *all* keys known to your app; for all callers, libraries, etc.
211
211
*
212
- * See http://facebook.github.io/react-native /docs/asyncstorage.html#getallkeys
212
+ * See http://reactnative.dev /docs/asyncstorage.html#getallkeys
213
213
*/
214
214
getAllKeys : function (
215
215
callback ?: ?( error : ?Error , keys : ?ReadOnlyArrayString ) => void ,
@@ -240,7 +240,7 @@ const AsyncStorage = {
240
240
/**
241
241
* Flushes any pending requests using a single batch call to get the data.
242
242
*
243
- * See http://facebook.github.io/react-native /docs/asyncstorage.html#flushgetrequests
243
+ * See http://reactnative.dev /docs/asyncstorage.html#flushgetrequests
244
244
* */
245
245
flushGetRequests : function ( ) : void {
246
246
const getRequests = this . _getRequests ;
@@ -278,7 +278,7 @@ const AsyncStorage = {
278
278
* inputs. Your callback will be invoked with an array of corresponding
279
279
* key-value pairs found.
280
280
*
281
- * See http://facebook.github.io/react-native /docs/asyncstorage.html#multiget
281
+ * See http://reactnative.dev /docs/asyncstorage.html#multiget
282
282
*/
283
283
multiGet : function (
284
284
keys : Array < string > ,
@@ -320,7 +320,7 @@ const AsyncStorage = {
320
320
* Use this as a batch operation for storing multiple key-value pairs. When
321
321
* the operation completes you'll get a single callback with any errors.
322
322
*
323
- * See http://facebook.github.io/react-native /docs/asyncstorage.html#multiset
323
+ * See http://reactnative.dev /docs/asyncstorage.html#multiset
324
324
*/
325
325
multiSet : function (
326
326
keyValuePairs : Array < Array < string >> ,
@@ -346,7 +346,7 @@ const AsyncStorage = {
346
346
/**
347
347
* Call this to batch the deletion of all keys in the `keys` array.
348
348
*
349
- * See http://facebook.github.io/react-native /docs/asyncstorage.html#multiremove
349
+ * See http://reactnative.dev /docs/asyncstorage.html#multiremove
350
350
*/
351
351
multiRemove : function (
352
352
keys : Array < string > ,
@@ -373,7 +373,7 @@ const AsyncStorage = {
373
373
*
374
374
* **NOTE**: This is not supported by all native implementations.
375
375
*
376
- * See http://facebook.github.io/react-native /docs/asyncstorage.html#multimerge
376
+ * See http://reactnative.dev /docs/asyncstorage.html#multimerge
377
377
*/
378
378
multiMerge : function (
379
379
keyValuePairs : Array < Array < string >> ,
0 commit comments