Instance Property
state
Current lifecycle state, isolated to the actor.
var state: TorState { get }
Discussion
Reads require await to cross the actor boundary; writes happen only inside start() / stop() / waitUntilBootstrapped(timeout:) and their helpers. Observers that need near-real-time updates without polling should consume events for TorEvent.stateChanged(_:).