class
Amazonite::Lambda::CallbackStartedDetails
- Amazonite::Lambda::CallbackStartedDetails
- Reference
- Object
Overview
Contains details about a callback operation that has started, including timing information and callback metadata.
Included Modules
- JSON::Serializable
Defined in:
lambda/callback_started_details.crConstructors
- .new(pull : JSON::PullParser)
- .new(callback_id : String, heartbeat_timeout : Int32 | Nil = nil, timeout : Int32 | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#callback_id : String
The callback ID.
-
#callback_id=(callback_id : String)
The callback ID.
-
#hash(hasher)
See
Object#hash(hasher) -
#heartbeat_timeout : Int32 | Nil
The heartbeat timeout value, in seconds.
-
#heartbeat_timeout=(heartbeat_timeout : Int32 | Nil)
The heartbeat timeout value, in seconds.
-
#timeout : Int32 | Nil
The timeout value, in seconds.
-
#timeout=(timeout : Int32 | Nil)
The timeout value, in seconds.
- #validate! : Nil
Constructor Detail
def self.new(callback_id : String, heartbeat_timeout : Int32 | Nil = nil, timeout : Int32 | Nil = nil)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def callback_id : String
#
The callback ID. Callback IDs are generated by the DurableContext when a durable function
calls ctx.waitForCallback.
def callback_id=(callback_id : String)
#
The callback ID. Callback IDs are generated by the DurableContext when a durable function
calls ctx.waitForCallback.