obs.plantuml 326 B

1234567891011
  1. @startuml DIAGRAM
  2. participant Producer
  3. participant Consumer
  4. participant Callback_Queue
  5. participant Callback_Stack
  6. Producer --> Consumer: Next()
  7. Producer <-- Consumer: Subscribe
  8. Consumer --> Callback_Queue: Add to queue
  9. Callback_Queue --> Callback_Stack: Remove from queue \nwhen corresponding \nfunctions are called
  10. @enduml