Add an inline helper to get a SharedFuture's state