Continuation implementation

Change-Id: Iff0df4427affe374e8e2909beb641cb7ad53f0fc