**Singleton** is a very well known and used design pattern.
**Singleton** is a very well known and used design pattern.
A singleton is a class that can be **instantiated only once**: this can be very useful when you want a single component to be in charge of all the interaction with a specific piece of hardware.
In boardcore, you can achieve this by extending the Singleton template which you can find in `src/shared/`.