add event dispatcher document
fixed #3283, add document and delete temp file
Merge pull request #9 from leafsoar/master

fixed #3283, add document