Added next event helper
Added next examples and test
gendocs
Bump version to 0.4.0