@startuml !define LIGHTBLUE !includeurl https://raw.githubusercontent.com/Drakemor/RedDress-PlantUML/master/style.puml start :Queue Handling; :Publish Events\nnotify-keyspace-events; if (is publish successful?) then (yes) :Subscribe to Events; while () repeat repeat repeat:Listen to Events; repeat while (has a notification arrived?) is (no) not(yes) :Check Notification; repeat while (Is the notification linked to a sock?) is (no) not(yes) :Get name name from the sock; :get socks; :Check name list1; if(Are there elements in the list1?) then (yes) :Remove 1st item from list1 and create a sock; else (no) :Check name list2; if(Are there elements in the list2?) then (yes) :Remove 1st item from list2 and create a sock; else (no) stop endif endif repeat while (Is sock creation successful?) is (yes) not(no) :Log Report; endwhile -[hidden]-> detach else (no) :<b>Error</b>\n<b>Program Terminates</b>; stop endif @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
🎉 Discover the future PlantUML Web Editor! 🚀
PNG
SVG
ASCII Art