mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-10 16:22:59 +01:00
15 lines
368 B
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
|
||
|
}
|