SwiftprotocolJetEngine

protocol JetEngine.StateCenter

Members 4

  1. associatedtypeassociatedtype Transaction
  2. funcmethod descriptor for beginTransaction() -> A.Transaction
  3. funcmethod descriptor for commit(A.Transaction) -> ()
  4. funcmethod descriptor for currentState<A where A1: JetEngine.Stateful>(at: JetEngine.StatePath<A.Transaction.PathComponent>) -> A1
protocol StateCenter: AnyObject where Self.Transaction: JetEngine.StateCenterTransaction {
    associatedtype Transaction

    func currentState<A1>(at: JetEngine.StatePath<Self.Transaction.PathComponent>) -> A1 where A1: JetEngine.Stateful
    func beginTransaction() -> Self.Transaction
    func commit(_: Self.Transaction)
}