Added support of unidirectional coroutines

Patch by Oliver Kowalke
Fixed compiler error related to new future continuation API