First crack at continuationinvoke.

Works for a single invocation of the continuation.