Transaction
public enum Transaction<Time> : Equatable where Time : Strideable, Time.Stride : SchedulerTimeIntervalConvertible
extension DemandLedger.Transaction: CustomDebugStringConvertible
The kind of transcation for a DemandLedger
.credit(amount:): The raise in authorized demand issued by aSubscriber..debit(authorized:): The consumption of credit by an upstreamPublisher. The debit is only considered authorised if the overall credit is greater or equal to the total debit over the lifetime of a subscription. Adebitalways has an implicit amount of1.
-
Declaration
Swift
public var debugDescription: String { get }
View on GitHub
Transaction Enumeration Reference