Update README.md

Add then func sample.