SwiftclassIntelligenceFlowRuntime
ExecutionSessionHolder
class IntelligenceFlowRuntime.ExecutionSessionHolder
Members 7
- deinit
deinit - field
let didBeginEnd: Synchronization.Mutex<Bool> - field
let endSession: @Sendable (A) async -> () - field
let sessionTask: Task<A, Error> - func
beginEndSession() -> () - init
IntelligenceFlowRuntime.ExecutionSessionHolder.__allocating_init(start: @Sendable () async throws -> A, end: @Sendable (A) async -> ()) -> IntelligenceFlowRuntime.ExecutionSessionHolder<A> - var
final var session: A { get }
Header
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 }