Class: ClaudeAgentSDK::FiberBoundary::Break
- Inherits:
-
Object
- Object
- ClaudeAgentSDK::FiberBoundary::Break
- Defined in:
- lib/claude_agent_sdk/fiber_boundary.rb
Overview
Sentinel returned by .invoke_iteration when the user block attempted ‘break`.
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Break
constructor
A new instance of Break.
Constructor Details
#initialize(value) ⇒ Break
Returns a new instance of Break.
51 52 53 |
# File 'lib/claude_agent_sdk/fiber_boundary.rb', line 51 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
49 50 51 |
# File 'lib/claude_agent_sdk/fiber_boundary.rb', line 49 def value @value end |