We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64b7a86 commit c3cb850Copy full SHA for c3cb850
1 file changed
packages/agents/src/index.ts
@@ -2258,14 +2258,6 @@ export class Agent<
2258
}
2259
};
2260
2261
- const store = agentContext.getStore();
2262
- // workerd propagates AsyncLocalStorage through promises/timers, so
2263
- // queue flushing inside an active agent scope should inherit context.
2264
- if (store?.agent === this) {
2265
- await runQueueCallback();
2266
- continue;
2267
- }
2268
-
2269
const contextInput: AgentContextInput = {
2270
lifecycle: "queue",
2271
agent: this,
0 commit comments