Module: OpenLoam::Eventful
Overview
Lifecycle events by convention. Included in every generated entity:
class Equipment < OpenLoam::TenantRecord
include OpenLoam::Eventful
event_domain :rental # -> "rental.equipment.created" etc.
end
Custom business events are published explicitly with OpenLoam::Events.publish.