13 lines
305 B
Swift
13 lines
305 B
Swift
import Combine
|
|
|
|
final class ConversationMiddleware {
|
|
static let shared = ConversationMiddleware()
|
|
|
|
func middleware(state _: AppState, action: AppAction) -> AnyPublisher<AppAction, Never> {
|
|
switch action {
|
|
default:
|
|
return Empty().eraseToAnyPublisher()
|
|
}
|
|
}
|
|
}
|