Command Use Case : Design Patterns in TypeScript

Command Use Case : Design Patterns in TypeScript

Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=j3I-TZGvUZ4



Duration: 4:16
0 views
0


Design Patterns In TypeScript (book)
https://www.amazon.com/dp/B0948BCH24 : ASIN B0948BCH24
https://www.amazon.com/dp/B094716FD6 : ASIN B094716FD6

Documentation : https://sbcode.net/typescript/command/#command-use-case

This will be a smart light switch.

This light switch will keep a history of each time one of its commands was called.

And it can replay its commands.

A smart light switch could be extended in the future to be called remotely or automated depending on sensors.

#commandPattern
#typescriptCommand
#commandPatternTypescript







Tags:
Design Patterns In TypeScript
TypeScript
Design Patterns
command
command pattern