add missingtemplate arg in coroutine_fn typedef