Contents

getSpecific(key:)

Returns the value for the key associated with this dispatch queue.

Declaration

@preconcurrency 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