<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Bitcoin",
  "identifier" : "/documentation/Bitcoin/DirectTransport/timeout",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Bitcoin"
    ],
    "preciseIdentifier" : "s:7Bitcoin15DirectTransportV7timeoutSdvp"
  },
  "title" : "timeout"
}
-->

# timeout

Timeout for the blocking `bitcoin_rpc()` call. Matches Bitcoin Core’s
default `-rpcservertimeout` (30 s). After this interval the continuation
resumes with `URLError(.timedOut)`; the GCD thread keeps running (a
synchronous C call cannot be cancelled) and frees its memory on return.

```
var timeout: TimeInterval
```