eventBus.on
- eventName:
string;
Events names to listen.
Valid format:${collectionName}.created,${collectionName}.updated,${collectionName}.deleted. - handler:
InMemoryEventHandler;
void.
eventBus.once
- eventName:
string;
Events names to listen.
Valid format:${collectionName}.created,${collectionName}.updated,${collectionName}.deleted. - handler:
InMemoryEventHandler;
void.
eventBus.onUpdated
properties updates.
Parameters
- entity:
string;
Collection name for events listening. - properties:
OnUpdatedProperties;
Properties whose update will trigger the event. - handler:
InMemoryEventHandler;
void.