load(_:)

Replaces a shared reference’s key and attempts to load its value.

SharedReaderKey.swift:158
func load(_ key: some SharedReaderKey<Value>) async throws

Parameters

key

A shared key associated with the shared reference. It is responsible for loading the shared reference’s value from some external source.