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 a Subscriber.
  • .debit(authorized:): The consumption of credit by an upstream Publisher. The debit is only considered authorised if the overall credit is greater or equal to the total debit over the lifetime of a subscription. A debit always has an implicit amount of 1.

DemandLedgerRow definition

  • Declaration

    Swift

    public var debugDescription: String { get }