@tony Since this is quite a general question about waitUntil I think it's actually fine do to this i

@tony Since this is quite a general question about waitUntil I think it's actually fine do to this in here. Do you see any other logs in your console? Are both endpoints ran through the workers sdk / wrangler?

Give this a try:
        c.executionCtx.waitUntil(fetch('http://localhost:3000/impression', {
            method: "POST",
            body: JSON.stringify(data),
            headers: {
                "content-type": "application/json",
            }
        }).catch((e) => console.error("Error doing impressions", e))
);
Was this page helpful?