SwiftfuncServicesAnalyticsCore

assumingIsolated

ServicesAnalyticsCore.assumingIsolated<A, B where B: Sendable>(to: OS_dispatch_queue_serial, state: A, _: @Sendable (A, isolated Actor) throws -> B) throws -> B

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

AB

req{}

param{}

  1. 0to:
  2. 1state:
    genericParameterA
  3. 2_
    function@Sendable (A, isolated Actor) throws -> Bsendablethrows
    • paramgenericParameterA
    • paramexistentialActorisolated
    • returnsgenericParameterB

result{}

genericParameterB