Documentation for events.publish.