another.im-ios/AnotherXMPP/modules/XmppModule.swift
2024-12-18 04:51:41 +01:00

9 lines
230 B
Swift

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?
}