documentation: correct signature for event source function
Merge pull request #191 from rangermeier/docs-2.1

documentation: correct signature for event source function