API reference for WriteEvent.
Writes a replacement event: its payload checked against the event, or any payload for a tag.