another.im-ios/AnotherXMPP/modules/XmppModule.swift

9 lines
230 B
Swift
Raw Permalink Normal View History

2024-06-19 15:06:39 +00:00
import Foundation
protocol XmppModule: Identifiable {
var id: String { get }
func reduce(oldState: ClientState, with event: Event) -> ClientState
func process(state: ClientState, with event: Event) async -> Event?
}