sequenceDiagram
participant Client as Client
participant Server as Server
Note over Client, Server: Pull-Based (Client keeps polling)
rect rgba(255, 255, 255, 0.31)
loop Repeatedly
Client->>Server: Request state
Server-->>Client: Respond with state
end
end
Note over Client, Server: Push-Based (Server notifies Client)
rect rgba(255, 255, 255, 0.31)
Server->>Server: State changes
Server-->>Client: Notify update
end