Sobes.tech
Middle

Synchronous/asynchronous call with colored or uncolored arrow?

sobes.tech AI

Answer from AI

In UML sequence diagrams:

  • A synchronous call is represented by a filled (solid) arrow with a pointed tip. This indicates that the calling object waits for the call to complete before continuing.

  • An asynchronous call is represented by an unfilled (empty) arrow with a pointed tip. This indicates that the calling object does not wait for a response and continues working.

Example:

Object A --> Object B : synchronous call (filled arrow)
Object A ->> Object B : asynchronous call (unfilled arrow)