Running the command in sequence preserves the context. I would expect that each call would create a clean context, like is the case with run
Is that normal behavior?
await namespace.runPromise(async () => {
set("foo", "bar");
const foo = get("foo");
console.log("VAELU", foo);
})
await namespace.runPromise(async () => {
const foo = get("foo");
console.log("Value", foo); // Here is prints "bar" instead of undefined
});
Running the command in sequence preserves the context. I would expect that each call would create a clean context, like is the case with
runIs that normal behavior?