neuroglancer.trackable_state.TrackableState[State].txn(
    
overwrite: bool = Falselock: bool = True)

Context manager for a state modification transaction.