from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.async_results.sleep(
delay=1,
)
print(response.async_result_id)
{
"asyncResultId": "<string>"
}
Creates an async result that will automatically resolve after a specified delay or at a future time.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.async_results.sleep(
delay=1,
)
print(response.async_result_id)
{
"asyncResultId": "<string>"
}
Default Response
The response is of type object
.