getSpecific(key:)
Returns the value for the key associated with the current execution context.
Declaration
@preconcurrency class func getSpecific<T>(key: DispatchSpecificKey<T>) -> T? where T : SendableParameters
- key:
The key associated with the dispatch queue.