diff --git a/API-INTERNAL.md b/API-INTERNAL.md index 10b70448f..0909a4b89 100644 --- a/API-INTERNAL.md +++ b/API-INTERNAL.md @@ -78,6 +78,14 @@ If the requested key is a collection, it will return an object with all the coll
remove()

Remove a key from Onyx and update the subscribers

+
wait()
+

Returns a promise that resolves after the given number of milliseconds.

+
+
getRetryDelay()
+

Calculates exponential backoff delay with jitter for a given retry attempt. +Formula: baseDelay * 2^attempt ± jitter +Attempt 0: ~100ms, Attempt 1: ~200ms, ..., Attempt 4: ~1600ms

+
retryOperation()

Handles storage operation failures based on the error type: