15 lines
274 B
Swift
15 lines
274 B
Swift
//
|
|
// Copyright 2024 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public protocol Streamable {
|
|
|
|
func remove(from: RunLoop, forMode: RunLoop.Mode)
|
|
|
|
func schedule(in: RunLoop, forMode: RunLoop.Mode)
|
|
|
|
func close() throws
|
|
}
|