Skip to content

Commit a2e589d

Browse files
committed
check fix
1 parent 135969f commit a2e589d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

packages/core/src/shared/taskManager.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,17 +181,15 @@ export type TaskManagerOptions = {
181181
* Extracts {@linkcode TaskManagerOptions} from a capability object that mixes in runtime fields.
182182
* Returns `undefined` when no task capability is configured.
183183
*/
184-
export function extractTaskManagerOptions(
185-
tasksCapability: TaskManagerOptions | undefined
186-
): TaskManagerOptions | undefined {
184+
export function extractTaskManagerOptions(tasksCapability: TaskManagerOptions | undefined): TaskManagerOptions | undefined {
187185
if (!tasksCapability) return undefined;
188186
const { taskStore, taskMessageQueue, defaultTaskPollInterval, maxTaskQueueSize } = tasksCapability;
189187
return { taskStore, taskMessageQueue, defaultTaskPollInterval, maxTaskQueueSize };
190188
}
191189

192190
/**
193191
* Manages task orchestration: state, message queuing, and polling.
194-
* Capability checking is delegated to the Protocol host via {@linkcode TaskManagerHost}.
192+
* Capability checking is delegated to the Protocol host.
195193
* @internal
196194
*/
197195
export class TaskManager {

0 commit comments

Comments
 (0)