event
Creates some new events, that are generated in the EventScope. This function returns an arbitrary user-provided value once the events have been successfully added to the underlying MutableSite.
The whole block is guaranteed to be evaluated atomically on the event log.
Parameters
R
the return value of the event call.