Skip to content

@statesync/core


@statesync/core / RetryReportingOptions

Interface: RetryReportingOptions

Defined in: retry.ts:66

Properties

logger?

ts
optional logger: Logger;

Defined in: retry.ts:69


onError()?

ts
optional onError: (ctx) => void;

Defined in: retry.ts:75

Optional error hook. This reports retry attempts with:

  • phase = 'getSnapshot'
  • willRetry = true

Parameters

ParameterType
ctxSyncErrorContext

Returns

void


policy?

ts
optional policy: RetryPolicy;

Defined in: retry.ts:68


topic

ts
topic: string;

Defined in: retry.ts:67

Released under the MIT License.