An adapter to implement the driven/outbound port, It could be used to implement a database, a queue, a messaging system, etc.
i.e.
TicketInMemoryimplement the outbound port- It would be injected into the
TicketServicewhich is the implementation of the inbound port and the core business logic.- The injection itself is handled by nestjs in ticket.module.ts