Learn R Programming

rsynthbio (version 4.0.0)

poll_model_query: Poll Model Query

Description

Internal function to poll the status endpoint until ready/failed or timeout

Usage

poll_model_query(api_base_url, model_query_id, poll_interval, timeout_seconds)

Value

A list with status and payload

Arguments

api_base_url

The base URL for the API

model_query_id

The model query ID to poll

poll_interval

Seconds between polling attempts

timeout_seconds

Maximum total seconds to wait