mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-30 15:20:22 +00:00
refactor: tighten plugin sdk channel seams
This commit is contained in:
@@ -3,6 +3,7 @@ export type KeyedAsyncQueueHooks = {
|
||||
onSettle?: () => void;
|
||||
};
|
||||
|
||||
/** Serialize async work per key while allowing unrelated keys to run concurrently. */
|
||||
export function enqueueKeyedTask<T>(params: {
|
||||
tails: Map<string, Promise<void>>;
|
||||
key: string;
|
||||
|
||||
Reference in New Issue
Block a user