02.retry_02

command
v0.5.46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

RetryPolicy + Timeout を組み合わせて、

  • 「最大3回リトライ」 (RetryPolicy)
  • 「各試行ごとに1秒タイムアウト」 (TimeoutPolicy)
  • 「タイムアウトした試行は実処理も止める」(Context)

という挙動を実現するサンプルです。

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL