Contents

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 : Sendable

Parameters

  • key:

    The key associated with the dispatch queue.

See Also

Getting and Setting Contextual Data