updated example to use coroutine API
Updated docs towards 1.1.0

Signed-off-by: Zaar Hai <haizaar@haizaar.com>