event_bus v1.6.1 EventBus.EventSource

Event builder and notifier blocks/yields for EventBus

Link to this section Summary

Functions

Dynamic event builder block with auto setters

Dynamic event emitter block with auto setters

Link to this section Functions

Link to this macro

build(params, list)

(macro)

Dynamic event builder block with auto setters

It auto sets id, transaction_id, source, ttl, initialized_at and occurred_at fields when they are not provided in the params

Link to this macro

notify(params, list)

(macro)

Dynamic event emitter block with auto setters

It auto sets id, transaction_id, source, ttl, initialized_at and occurred_at fields when they are not provided in the params