Skip to content

Commit

Permalink
ChildChannelValue
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Apr 30, 2024
1 parent b93e85a commit 052b178
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sources/HummingbirdCore/Server/ServerChildChannel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ import Logging
import NIOCore
import ServiceLifecycle

public protocol ChildChannel: Sendable {
public protocol ChildChannelValue: Sendable {
var eventLoop: EventLoop { get }
}

/// HTTPServer child channel setup protocol
public protocol ServerChildChannel: Sendable {
associatedtype Value: ChildChannel
associatedtype Value: ChildChannelValue

/// Setup child channel
/// - Parameters:
Expand Down

0 comments on commit 052b178

Please sign in to comment.