mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-02-03 10:47:35 +01:00
16 lines
383 B
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
|
|
}
|