// RunInBackground a wrapper for runtime.RunInBackground func RunInBackground(req *wcg.Request, f func(*wcg.Request)) { bgReq := req.Clone() runtime.RunInBackground(NewContext(req), func(ctx context.Context) { bgReq.SetLocal("__gaebg_context", ctx) f(bgReq) }) }