When constructing an invoker to chain together a function and a completion
token, use the function's real signature for the invoker function. This allows
coroutines to be passed as functions.