thread_local_state

The tracking issue for this feature is: #27716