Understanding `context.async`

Aha! It was being double-awaited! :slightly_smiling_face:

EDIT: Ok, scratch that. The double output happens even if the fetch is directly inside the callback. I’m back to not understanding the behavior. :confused:

console.log("first message in sync code under Async with context.async action (first workflow action)");

context.async( async callback => {
    try {
        let response = await fetch("https:www.goe.com");
        console.log(`second message, now inside async code, the variable is ${response.status} (first workflow action)`);
        callback(null, null);
    }
    catch (err) {
        callback(null);
    }
});

console.log("third message in sync code under Async with context.async action (first workflow action)");

The above still repeats the first message.