• Subscribes to updates for a specific request in the queue.

    Type Parameters

    • Input
    • Output

    Parameters

    • endpointId: string

      The ID of the function web endpoint.

    • options: RunOptions<Input> & QueueSubscribeOptions = {}

      Options to configure how the request is run and how updates are received.

    Returns Promise<Output>

    A promise that resolves to the result of the request once it's completed.