Instance Method
waitUntilBootstrapped()
Wait up to the default 120-second bootstrap window.
func waitUntilBootstrapped() async throws
Discussion
Convenience shorthand for the overwhelmingly common case in which the caller has no opinion about the timeout: 120 seconds is long enough to cover cold boots on slow connections but short enough that failure surfaces well before the user gives up. Forwards directly to waitUntilBootstrapped(timeout:) with .seconds(120).
Throws
TorError.timeout if bootstrap exceeds 120 seconds, TorError.notStarted if the session is not running.
Note
For CI jobs, tests, or interactive UIs that want to show a spinner timeout sooner, call the full waitUntilBootstrapped(timeout:) with a tighter Duration.