mastodon-ios/MastodonSDK/Sources/MastodonCore/Service/PublisherService/StatusPublisher.swift

16 lines
383 B
Swift

//
// StatusPublisher.swift
//
//
// Created by MainasuK on 2021-11-26.
//
import Foundation
import Combine
public protocol StatusPublisher: ProgressReporting {
var state: Published<StatusPublisherState>.Publisher { get }
var reactor: StatusPublisherReactor? { get set }
func publish(api: APIService, authContext: AuthContext) async throws -> StatusPublishResult
}