From 052b178935e0055aa927f83bee7026d6f63746b4 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Tue, 30 Apr 2024 13:03:05 +0000 Subject: [PATCH] ChildChannelValue --- Sources/HummingbirdCore/Server/ServerChildChannel.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Sources/HummingbirdCore/Server/ServerChildChannel.swift b/Sources/HummingbirdCore/Server/ServerChildChannel.swift index 30d10715a..c93f9ed1c 100644 --- a/Sources/HummingbirdCore/Server/ServerChildChannel.swift +++ b/Sources/HummingbirdCore/Server/ServerChildChannel.swift @@ -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: