val LocalTextFieldContentObserverRegistrationExecutor = staticCompositionLocalOf<Executor?> { null }
BasicSecureTextField or any other secure TextField that depends on it needs to register a ContentObserver to be able to observe the changes to platform password visibility settings. Registering this observer on the main thread is usually fine but because it requires an IPC call to be made, a rare lock contention can happen that hangs the main thread for a short time.
This androidx.compose.runtime.CompositionLocal provides a way to choose an Executor to run this registration and its corresponding unregistration in, freeing the main thread.
The default value null indicates that the main thread will be used.