class
Amazonite::Lambda::CallbackDetails
- Amazonite::Lambda::CallbackDetails
- Reference
- Object
Overview
Contains details about a callback operation in a durable execution, including the callback token and timeout configuration.
Included Modules
- JSON::Serializable
Defined in:
lambda/callback_details.crConstructors
- .new(pull : JSON::PullParser)
- .new(callback_id : String | Nil = nil, result : String | Nil = nil, error : ErrorObject | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#callback_id : String | Nil
The callback ID.
-
#callback_id=(callback_id : String | Nil)
The callback ID.
-
#error : ErrorObject | Nil
An error object that contains details about the failure.
-
#error=(error : ErrorObject | Nil)
An error object that contains details about the failure.
-
#hash(hasher)
See
Object#hash(hasher) -
#result : String | Nil
The response payload from the callback operation as a string.
-
#result=(result : String | Nil)
The response payload from the callback operation as a string.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The callback ID. Callback IDs are generated by the DurableContext when a durable function
calls ctx.waitForCallback.
The callback ID. Callback IDs are generated by the DurableContext when a durable function
calls ctx.waitForCallback.