mastodon-app-ufficiale-ipho.../MastodonSDK/Sources/MastodonCore/Service/PublisherService/StatusPublisher.swift

15 lines
368 B
Swift

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