Module Values.CallbackDetailsSource

Contains details about a callback operation in a durable execution, including the callback token and timeout configuration.

Sourcetype nonrec t = {
  1. callbackId : CallbackId.t option;
    (*

    The callback ID. Callback IDs are generated by the DurableContext when a durable function calls ctx.waitForCallback.

    *)
  2. result : OperationPayload.t option;
    (*

    The response payload from the callback operation as a string.

    *)
  3. error : ErrorObject.t option;
    (*

    An error object that contains details about the failure.

    *)
}
Sourceval make : ?callbackId:??? -> ?result:??? -> ?error:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CallbackId.t | `Structure of (string * [> `List of [> `String of StackTraceEntry.t ] list | `String of ErrorMessage.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t