baml.http._timeout_nanos

(internal) The limit a request runs under, as the nanosecond count carried across the sys-op boundary: `timeout`, else `default` when it is null. The native layer treats zero or negative as no limit.

Reference version

Signature

function baml.http._timeout_nanos(
timeout: baml.time.Duration | null,
) -> bigint throws never

(internal) The limit a request runs under, as the nanosecond count carried across the sys-op boundary: timeout, else default when it is null. The native layer treats zero or negative as no limit.

Source:<builtin>/baml/ns_http/http.bamlbytes 7939–8101