| | |
| | | import _Concurrency |
| | | import _StringProcessing |
| | | import _SwiftConcurrencyShims |
| | | import os.lock |
| | | import os |
| | | @objc(FIRHeartbeatController) @objcMembers public class _ObjC_HeartbeatController : ObjectiveC.NSObject { |
| | | @objc public init(id: Swift.String) |
| | | @objc public func log(_ agent: Swift.String) |
| | |
| | | @objc public var isEmpty: Swift.Bool { |
| | | @objc get |
| | | } |
| | | @objc deinit |
| | | } |
| | | final public class FIRAllocatedUnfairLock<State> : @unchecked Swift.Sendable { |
| | | #if compiler(>=5.3) && $SendingArgsAndResults |
| | | public init(initialState: sending State) |
| | | #else |
| | | public init(initialState: __owned State) |
| | | #endif |
| | | convenience public init() where State == () |
| | | final public func lock() |
| | | final public func unlock() |
| | | final public func value() -> State |
| | | @discardableResult |
| | | final public func withLock<R>(_ body: (inout State) throws -> R) rethrows -> R |
| | | @discardableResult |
| | | final public func withLock<R>(_ body: () throws -> R) rethrows -> R |
| | | @objc deinit |
| | | } |
| | | @_hasMissingDesignatedInitializers final public class HeartbeatController : Swift.Sendable { |
| | |
| | | public func zipped() throws -> Foundation.Data |
| | | public func unzipped() throws -> Foundation.Data |
| | | } |
| | | final public class UnfairLock<Value> : @unchecked Swift.Sendable { |
| | | #if compiler(>=5.3) && $SendingArgsAndResults |
| | | public init(_ value: consuming sending Value) |
| | | #else |
| | | public init(_ value: consuming Value) |
| | | #endif |
| | | @objc deinit |
| | | final public func value() -> Value |
| | | #if compiler(>=5.3) && $SendingArgsAndResults |
| | | @discardableResult |
| | | final public borrowing func withLock<Result>(_ body: (inout sending Value) throws -> sending Result) rethrows -> sending Result |
| | | #else |
| | | @discardableResult |
| | | final public borrowing func withLock<Result>(_ body: (inout Value) throws -> Result) rethrows -> Result |
| | | #endif |
| | | #if compiler(>=5.3) && $SendingArgsAndResults |
| | | @discardableResult |
| | | final public borrowing func withLock<Result>(_ body: (inout sending Value) -> sending Result) -> sending Result |
| | | #else |
| | | @discardableResult |
| | | final public borrowing func withLock<Result>(_ body: (inout Value) -> Result) -> Result |
| | | #endif |
| | | } |