SwiftstructWorkflowKit

struct WorkflowKit.CascadePersonaProvider

Structure

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

inherits{}

Members 3

  1. funcperformAs<A where A: Sendable>(_: WorkflowKit.PersonaIdentifier, work: @Sendable () async throws -> A) async throws -> A
  2. funcperformAsEachPersona<A where A: Sendable>(work: @Sendable (String?) async throws -> A) async throws -> [A]
  3. initinit() -> WorkflowKit.CascadePersonaProvider
struct CascadePersonaProvider {
    init()

    func performAsEachPersona<A>(work: @Sendable (_: Swift.String?) async throws -> A) async throws -> [A] where A: Swift.Sendable
    func performAs<A>(_: WorkflowKit.PersonaIdentifier, work: @Sendable () async throws -> A) async throws -> A where A: Swift.Sendable
}