reviewForResume
Inspect an interrupted operation without submitting or replaying it.
Import
ts
import { reviewForResume } from "@0xcurvy/curvy-sdk/actions";Usage
ts
const result = await reviewForResume({ operationId, config });Signature
ts
function reviewForResume(parameters: ReviewForResumeParameters): Promise<OperationResumeReview>Returns
Promise<OperationResumeReview>
The action resolves or returns the value shown in the signature.
Parameters
operationId
- Type:
string - Required: yes
The interrupted operation to inspect.
ts
const result = await reviewForResume({
operationId,
});accountId
- Type:
string - Required: no
The account that owns the operation. Defaults to the active account.
ts
const result = await reviewForResume({
operationId,
accountId,
});config
- Type:
CurvyConfig - Required: no
Curvy config to use. Defaults to the ambient config.
ts
const result = await reviewForResume({
operationId,
config,
});Errors
Errors from config resolution and the underlying SDK operation are propagated to the caller.