load(_:)
Replaces a shared reference’s key and attempts to load its value.
func load(_ key: some SharedKey<Value>) async throws
Parameters
- key
A shared key associated with the shared reference. It is responsible for loading and saving the shared reference’s value from some external source.