Returns an opaque object containing the current state of all the backends.
Can be used for synchronization between threads/processes.
See also
set_state
Sets the state returned by this function.