subscribeToStatus

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

endpointId

The ID of the endpoint to send the request to.

requestId

The ID of the request to subscribe to.

options

The options to use for the request.

onQueueUpdate

The status update callback.

See also

#status