class Type[T])

Bases: Generic[T]

Class decorator to make it a Singleton

This is useful when you want a central engine instance or else to be used across your application modules.

But using such decorator will make it tricky or impossible to use your application within several server using the same event loop.