hyperledger / aries-framework-swift

A Swift framework for Aries.
Apache License 2.0
17 stars 6 forks source link

Introduce event bus #74

Open conanoc opened 12 months ago

conanoc commented 12 months ago

aries-framework-kotlin uses event bus. It has advantages over delegates:

  1. It allows multiple listeners for an event.
  2. It can implement event waiters more efficiently. (We are currently using two kinds of event waiters in TestHelper and AsyncWaiter.)

We may use combine in Swift.