another.im-ios/AnotherIM/xmpp/modules/XmppModule.swift
2024-12-16 08:19:58 +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?
}