mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 09:50:23 +00:00
refactor: add retry runtime sdk seam
This commit is contained in:
15
src/plugin-sdk/retry-runtime.ts
Normal file
15
src/plugin-sdk/retry-runtime.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
// Public retry helpers for plugins that need retry config or policy runners.
|
||||
|
||||
export {
|
||||
resolveRetryConfig,
|
||||
retryAsync,
|
||||
type RetryConfig,
|
||||
type RetryInfo,
|
||||
type RetryOptions,
|
||||
} from "../infra/retry.js";
|
||||
export {
|
||||
createRateLimitRetryRunner,
|
||||
createTelegramRetryRunner,
|
||||
TELEGRAM_RETRY_DEFAULTS,
|
||||
type RetryRunner,
|
||||
} from "../infra/retry-policy.js";
|
||||
Reference in New Issue
Block a user