Skip to content

Commit

Permalink
minor CompleterMapActor optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Dec 11, 2023
1 parent aefdb84 commit c6dd350
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Sources/LiveKit/Support/AsyncCompleter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ enum AsyncCompleterError: LiveKitError {

/// Manages a map of AsyncCompleters
actor CompleterMapActor<T> {
public let label: String
// MARK: - Public

public nonisolated let label: String

// MARK: - Private

private let _timeOut: DispatchTimeInterval
private var _completerMap = [String: AsyncCompleter<T>]()
Expand Down

0 comments on commit c6dd350

Please sign in to comment.