ClaudeAgentSDK.AbortSignal (claude_agent_sdk v0.6.9)
View SourceLightweight cancellation token shared with callbacks.
Callbacks receive this via :signal in their context and can poll
cancelled?/1 to cooperatively stop work when a cancel or shutdown
occurs.
Summary
Functions
Marks the signal as cancelled.
Returns true if the signal has been cancelled.
Creates a new abort signal.
Types
@type t() :: %ClaudeAgentSDK.AbortSignal{ref: :atomics.atomics_ref()}