controls-kt/docs/uml/async-to sync.puml
2021-04-05 17:41:36 +03:00

18 lines
368 B
Plaintext

@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