Skip to main content

Function: pendingSwapFateOfOutcome

pendingSwapFateOfOutcome(outcome): "forget" | "forget_quietly" | "keep"

pendingSwapFateFor from an outcome the app already holds (for example the classifyFailure(error).outcome it stored on its own failure wrapper). An outcome this SDK version does not know (a newer SDK at run time) is keep: never forget what may have happened.

Parameters​

ParameterType
outcome"rejected" | "unknown" | "not_queued" | "not_sent" | "invalid_input" | "transient"

Returns​

"forget" | "forget_quietly" | "keep"