controls-kt/docs/uml/async-to sync.puml

18 lines
368 B
Plaintext
Raw Permalink Normal View History

2021-04-05 17:41:36 +03:00
@startuml
title Transform asynchronous to synchronous
participant Synchronous
participant Adapter
participant Asynchronous
activate Adapter
Asynchronous -> Adapter: message with ID
Adapter -> Synchronous
activate Synchronous
hnote over Adapter : create a waiting thread
Synchronous -> Adapter
deactivate Synchronous
Adapter -> Asynchronous: message with ID
@enduml