subscribe To Status
abstract suspend fun subscribeToStatus(endpointId: String, requestId: String, options: StatusSubscribeOptions = StatusSubscribeOptions(), onQueueUpdate: OnStatusUpdate? = null): QueueStatus.Completed
Subscribes to the status updates of the request with the given requestId. This method uses the Queue API to subscribe to the status updates of the request.
Parameters
endpoint Id
The ID of the endpoint to send the request to.
request Id
The ID of the request to subscribe to.
options
The options to use for the request.
on Queue Update
The status update callback.
See also
#status