observe_edge_update/2

An edge has been updated. Note that the Context for this notification does not have the user who updated the edge.

Only emitted if the edge is still present when the edge log batch is read. The sequence, creator and creation time reflect the edge at that time.

Type:

notify

Return:

return value is ignored

#edge_update{} properties:

  • subject_id: m_rsc:resource()
  • predicate: atom
  • object_id: m_rsc:resource()
  • edge_id: pos_integer
  • seq: integer
  • creator_id: m_rsc:resource_id() | undefined
  • created: calendar:datetime()

Edit on GitHub

Observed by

Modules

mod_websub

WebSub keeps imported resources up to date when their source changes. A publishing site notifies subscribers instead of requiring them to poll for every update.