SwiftclassIntelligenceFlowRuntime

class IntelligenceFlowRuntime.ExecutionSessionHolder

Members 7

  1. deinitdeinit
  2. fieldlet didBeginEnd: Synchronization.Mutex<Bool>
  3. fieldlet endSession: @Sendable (A) async -> ()
  4. fieldlet sessionTask: Task<A, Error>
  5. funcbeginEndSession() -> ()
  6. initIntelligenceFlowRuntime.ExecutionSessionHolder.__allocating_init(start: @Sendable () async throws -> A, end: @Sendable (A) async -> ()) -> IntelligenceFlowRuntime.ExecutionSessionHolder<A>
  7. varfinal var session: A { get }
class ExecutionSessionHolder<A> {
    let sessionTask: Swift.Task<A, any Swift.Error>
    let endSession: @Sendable (_: A) async -> ()
    let didBeginEnd: Synchronization.Mutex<Swift.Bool>

    init(start: @escaping @Sendable () async throws -> A, end: @escaping @Sendable (_: A) async -> ())

    final var session: A {
        get
    }

    final func beginEndSession()

    deinit
}