observe_rsc_delete/2
Resource will be deleted. This notification is part of the delete transaction, it’s purpose is to clean up associated data.
observe_rsc_get/3
Resource is read, opportunity to add computed fields Used in a foldr with the read properties as accumulator.
observe_rsc_import_fetch/2
Fetch the data for an import of a resource. Returns data in the format used by m_rsc_export and m_rsc_import. Either returns the JSON data, the imported…
observe_rsc_insert/3
Foldr for an resource insert, these are the initial properties and will overrule the properties in the insert request. Use with care. The props are the…
observe_rsc_merge/2
Map to signal merging two resources. Move any information from the loser to the winner. The loser will be deleted.
observe_rsc_pivot_done/2
Signal that a resource pivot has been done.
observe_rsc_query_item/2
Send a notification that the resource ‘id’ is added to the query query_id.
observe_rsc_update/3
An updated resource is about to be persisted. Observe this notification to change the resource properties before they are persisted.
observe_rsc_update_done/2
An updated resource has just been persisted. Observe this notification to execute follow-up actions for a resource update.
observe_rsc_upload/2
Upload and replace the resource with the given data. The data is in the given format.

Pivot notifications Notifications Survey notifications